-
I have a third party library I'd like to be able to use inside a worklet. What I'm not sure about is when a function is exposed does every function inside that function (like in a library) need to be defined as a worklet? Would it even be possible to run a third party library inside a worklet if that is the case, without majorly refactoring the code base? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
only if you use |
Beta Was this translation helpful? Give feedback.
-
can we await on runOnJS ? |
Beta Was this translation helpful? Give feedback.
-
I am using 3rd party lib - numbro but I need to await on the result . How can we achieve it? |
Beta Was this translation helpful? Give feedback.
only if you use
runOnJs
. you can't run third-party non-worklets in a worklet