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
Fully composable denodeify #213
Comments
👍 from me |
How do you feel about making |
Promised currently causes a few extra calls to I'm broadly in favor of using it everywhere though. |
Not sure. Will think about it more. Perf certainly could be an issue. |
Punting this to a future version. I need to play with the idea of implicit |
For reference implicit |
Small back-compat hazard; tagging as such. |
I believe that generators make this a non-issue. Closing. Please feel free to reopen if you have strong feelings about this direction. |
when.js got a method, they call it
bind
, that creates "fully composable" promise functions from Node functions:This could be implemented pretty easily by composing
Q.promised
andQ.nfbind
. I propose it as the new implementation ofdenodeify
, which currently in master (never released) is just a synonym fornfbind
. Like so:Sound good?
The text was updated successfully, but these errors were encountered: