You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that setTimeout is not implemented in the V8 engine itself; it is expected that the runtime which embeds V8 would implement setTimeout. In the case of this R package, it would be very useful to have setTimeout, since many JS libraries expect it to be present.
As for implementation, here are some possibilities:
The later package could be used. A call to setTimeout() could use later's C++ API to schedule a callback that runs in V8.
It would be even better if V8 could be run in a separate thread; when async code resolves, it could post messages back to the main R thread, again using the later package.
The text was updated successfully, but these errors were encountered:
I know that
setTimeout
is not implemented in the V8 engine itself; it is expected that the runtime which embeds V8 would implementsetTimeout
. In the case of this R package, it would be very useful to havesetTimeout
, since many JS libraries expect it to be present.As for implementation, here are some possibilities:
later
package could be used. A call tosetTimeout()
could use later's C++ API to schedule a callback that runs in V8.The text was updated successfully, but these errors were encountered: