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
-
Hi, we are migrating our project from J2V8 to Javet and we love it's simplity when using
bind
method. However, we've found a problem with implementation ofsetTimeout
function, 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.isClosed
flag is set totrue
.PS. I was also trying to add
async
keword forsetTimeout
function, according to testAsyncFunction test, but still is not working and flagV8ValueFunction.isAsyncFunction
was set tofalse
.Beta Was this translation helpful? Give feedback.
All reactions