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

make callback optional in whilst #642

Closed
wants to merge 1 commit into from

Conversation

jordanj77
Copy link

I believe that it's a best practice to make the callback optional.

This technique is used in core node libs (see https://github.com/joyent/node/tree/master/lib) as well as many popular community projects.

Fixes #446

@aearly aearly added the feature label May 21, 2015
@aearly aearly closed this in e37af8d Jun 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

whilst crashes if callback function is not given
2 participants