Skip to content
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

Add arguments to process.nextTick proxy. #158

Merged
merged 1 commit into from
Oct 17, 2018

Conversation

PatrickE94
Copy link
Contributor

Firstly, great work!

I've patched a minor inconsistency with nextTick not taking any arguments. I did it in the same manor as setImmediate and setInterval was done.

Hopefully it's of use and I've understood the internals correctly!

The original process.nextTick function only takes
a function as argument whilst Node normally
accepts arguments for the function to follow.

This patch forwards arguments which makes this function
equivalent to the Node.js original function.
@patriksimek patriksimek merged commit 5c089fc into patriksimek:master Oct 17, 2018
@patriksimek
Copy link
Owner

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants