-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Waterfall -> Parallel #5
Comments
You probably want something like this:
Hope that helps :) |
Yeah it worked! But one problem when I returned a closure like this:
It said arg1 is not defined because it's in the closure now and not inside async.waterfall(). This forces the code to not stay DRY cause I can't reuse functions. Is there a way to fix this? |
You'll need to pass arg1 as an argument to printName... it looks like that would make sense anyway if you want to reuse printName. |
I want to run 2 functions in waterfall then pass the value from the last one to 3 functions in parallel.
I have been struggling with waterfall + parallel without any results.
Is this possible with async somehow?
The text was updated successfully, but these errors were encountered: