-
Notifications
You must be signed in to change notification settings - Fork 5
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
pipeAsync should be able to accept Promise as input #178
Comments
So just took a look at this and it seems really easy to do.
|
The result of |
What I'm getting at is the current If we simply use |
You are right, there would be inconsistency, I forgot about simple values. I think it is better then to close this issue, leave functionality as is, we do not want to create a discrepancy here. |
At the moment, we have to use toIterable when input is a promise. But for pipeAsync there is no reason not to do so automatically.
Function pipeAsync should allow
Promise
as input, and automatically call toIterable (internally):@RebeccaStevens More fun, if you are interested ;)
The text was updated successfully, but these errors were encountered: