-
Notifications
You must be signed in to change notification settings - Fork 30k
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
doc: fix recommendation of setImmediate() over process.nextTick() #30801
Comments
That phrase should probably be removed. If we wanted compatibility notes, |
queueMicrotask too. |
I would like to start with that. |
Hi, is this still open to work on? |
Hi, I'm working on that issue now. |
@Fishrock123 I created a PR where I removed that phrase. Could I somehow improve that section? |
Is your feature request related to a problem? Please describe.
On this url:
At the
process.nextTick()
section, it says:But this is untrue since
setImmediate()
isn't supported in "wider variety of environments". Only supported in Edge & IE, but not Chrome, Firefox, Safari (on both desktop and mobile platforms).Describe the solution you'd like
Describe alternatives you've considered
setTimeout
andwindow.requestAnimationFrame
are the nearest alternatives forsetImmediate
for the browser, but I don't know how to phrase it yetThe text was updated successfully, but these errors were encountered: