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
This is not an asynchronous call (and does throw an exception in the current node.js master):
setTimeout(__calculate(),0);
You could use setTimeout(__calculate, 0);, but recursive setTimeout calls are slowed down (to avoid tasks hogging the CPU, I assume), which leads to timeouts in the test cases. Maybe just go for setImmediate or similar here?
The text was updated successfully, but these errors were encountered:
Thanks, I'm surprised I didn't notice that before - that was totally wrong. That's now fixed. I've also set it so that it will use process.nextTick() instead if available.
This is not an asynchronous call (and does throw an exception in the current node.js master):
You could use
setTimeout(__calculate, 0);
, but recursivesetTimeout
calls are slowed down (to avoid tasks hogging the CPU, I assume), which leads to timeouts in the test cases. Maybe just go forsetImmediate
or similar here?The text was updated successfully, but these errors were encountered: