Replies: 2 comments
-
|
There are generally 3 options for you to choose. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@caoccao Thanks! I'll borrow implementation from Javenode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we are migrating our project from J2V8 to Javet and we love it's simplity when using
bindmethod. However, we've found a problem with implementation ofsetTimeoutfunction, when using pure V8 and JS React.Here's how is implemented
setTimeout(simplified code):When we are calling this method we see this exception:
Part of the compiled React JS code:
Without
Timer()function is being called properly, but when is called from a thread thenV8ValueFunction.isClosedflag is set totrue.PS. I was also trying to add
asynckeword forsetTimeoutfunction, according to testAsyncFunction test, but still is not working and flagV8ValueFunction.isAsyncFunctionwas set tofalse.Beta Was this translation helpful? Give feedback.
All reactions