-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
process: add process.runNextTicks()
method
#40088
Conversation
process.runNextTicks()
methodprocess.runNextTicks()
method
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
Co-authored-by: Mestery <mestery@pm.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we would need a very strong reason if we wanted to make this public API, given that it is intentional that this is neither part of the language nor other runtime environments like browsers.
If #40054 is not possible, this is the next best thing to achieve the same result. |
I'm definitely in agreement with @addaleax ... really not convinced this is something we should do. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems dangerous and easily misused. Do we have a motivating example for why this would be needed?
Since #40054 has been proven possible, this PR is no longer needed. |
Finishes #29671