Skip to content

Discuss planning a long-term renaming of process.nextTick() #6878

@Fishrock123

Description

@Fishrock123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussions and feedbacks.processIssues and PRs related to the process subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions