-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
Description
This continues to confuse people and we should probably do something about it since the current behavior is unlikely to change back and because the expected behavior is now actually found in setImmediate().
Doing this would be a very long-term thing. process.nextTick() has very significant ecosystem usage.
I'm thinking we would created a differently named alias but not formally document it for an LTS cycle or so. That way, when we document it people can switch over in a way that won't hurt older versions or require shims.
It's not exactly the "cleanest" way forward but there is little else we can do. But, I think we should do something about it for the future.
I'm not sure what we would call it though. Maybe something like callBeforeIO? Idk yet.
@nodejs/collaborators