Uh oh!
There was an error while loading. Please reload this page.
doc: recommend queueMicrotask over process.nextTick - #37484
Conversation
Uh oh!
There was an error while loading. Please reload this page.
mscdex
commented
Feb 23, 2021
I think one obvious (and probably note-worthy) incompatibility compared to |
jasnell
commented
Feb 23, 2021
Good point and definitely worth adding. |
Delapouite
commented
Feb 23, 2021
Should |
Uh oh!
There was an error while loading. Please reload this page.
We likely cannot ever deprecate process.nextTick, but we can start steering people towards queueMicrotask for most cases. Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#36870
e4c86c3 to
02f32c6Comparejasnell
commented
Feb 23, 2021
@Delapouite ... yes, but that's a separate change. |
Fixes: #562 Refs: nodejs/node#37484
Uh oh!
There was an error while loading. Please reload this page.
jasnell
commented
Feb 25, 2021
Landed in ee6c467 |
We likely cannot ever deprecate process.nextTick, but we can start
steering people towards queueMicrotask for most cases.
Signed-off-by: James M Snell jasnell@gmail.com
Fixes: #36870