-
Notifications
You must be signed in to change notification settings - Fork 597
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
idea: allow injecting wrappers to support different async paradigms #145
Comments
Would |
@timwis |
This was added in |
I'm a huge fan of pull-stream, and would love to have it be a first-class citizen in
choo
. But I know that people can be picky about their preferences for async paradigms, so I reckon the best solution would be to add some sort of wrapping hook sochoo
can be extended to accomodate all flavors of async at no extra cost.I reckon the API could be something like:
With a little node core streams example (as that's the paradigm I'm most comfortable with):
Lil consideration I have if the API names should be plural or singular. Also if this idea makes sense at all, hah 😛 - reckon if done well enough it could ease up some of the (unfortunately necessary) rough edges around async that were introduced in
v3
. Thanks! ✨The text was updated successfully, but these errors were encountered: