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

Point to util.promisify in README? #27

Open
courajs opened this issue Sep 20, 2017 · 0 comments
Open

Point to util.promisify in README? #27

courajs opened this issue Sep 20, 2017 · 0 comments

Comments

@courajs
Copy link

courajs commented Sep 20, 2017

Node 8 introduced util.promisify to the standard library, which handles the simple use case of this library.
It also allows functions to opt-in to specifying how they are promisified, which means you can promisify even some non-node-style callback functions (like setTimeout). Can we add a note in the readme stating if they use Node 8, they may want to use it instead?

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

No branches or pull requests

1 participant