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
async.each should include a results array to the callback #1139
Comments
That's what |
Hi, This would make it consistent with async.series which also has a callback(err, results). i.e: One may want to run a function for each element in a collection but the goal of this function would not be to "map" values. (in this case, eachSeries or each would be better readability). Any chance you could still consider implementing it the same as async.series regarding the results returned ? Thanks a lot ! |
I don't think this is worth considering as this functionality is already 100% covered by
|
No, |
Whoops my bad, was mixing it up with waterfall. Anyway, my comment still stands in regards to |
Sounds good guys, no problem, probably needs to get used to the syntax :-) |
|
I came across this today, which I think is absolutely brilliant...in case you are needing the ID.
|
It would be extremely useful to have the each() call include a results array to its callback.
The text was updated successfully, but these errors were encountered: