Are there any side-effects of using worklet in js thread functions #5100
-
Let's say I have below function sum(a,b){ this function can be used on both the threads But I want to know is it okay to call a 'worklet' function on js thread can it cause memory leak or keep unwanted references in memory or other problems? |
Beta Was this translation helpful? Give feedback.
Answered by
tjzel
Sep 20, 2023
Replies: 1 comment
-
It is absolutely safe to call this function on JS thread - no side effects will happen. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
laxman-stan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is absolutely safe to call this function on JS thread - no side effects will happen.