Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setImmediate is defined in v8env but doesn't work #122

Closed
mrkurt opened this issue Jul 20, 2018 · 1 comment
Closed

setImmediate is defined in v8env but doesn't work #122

mrkurt opened this issue Jul 20, 2018 · 1 comment

Comments

@mrkurt
Copy link
Member

mrkurt commented Jul 20, 2018

  setImmediate(() => console.log("called"))$

This never fires.

@mrkurt mrkurt added the bug label Jul 20, 2018
@mrkurt
Copy link
Member Author

mrkurt commented Jul 20, 2018

Workaround:

global.setImmediate = function(fn){
  setTimeout(fn, 0)
}

@mrkurt mrkurt closed this as completed in 15d0ab4 Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant