This repository has been archived by the owner on Mar 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
util.toCallback(asyncFn)
- interop of async functions with callbacks.
#6
Labels
Comments
Does anyone object to making this issue non-blocking for the Promises PR? |
This issue is orthogonal (and certainly non-blocking) for the promises-in-core PR. It is only about async functions being more ergonomic to callback users. |
Excellent! Did you see callbackify in the existing PR? |
Would you object to discussing a public |
Well, there are different stakeholders so I'd rather keep them separate. It seems like a generally good idea to keep discussions small to include participation. I don't feel very strongly about it though. |
This landed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Similar to #5 I'm looking at ways to make the lives of callback users easier with
async/await
landing. I'm wondering if core should provide a method calledtoCallback
that takes an async function and converts it to a callback returning function. This is similar toasCallback
except taking a function:The name and where it is are both debatable.
The text was updated successfully, but these errors were encountered: