lundi 6 avril 2015

async.waterfall like alternative for async.eachSeries

I have to write some code snippet in node.js where I need to control the asynchronous flow with async.js. There is a function in async.js called async.waterfall which gives opportunity to pass some value to next executing function. My problem is I have to run async.eachSeries for controlling the flow over an array, but I can't find any option to pass some value like waterfall. Is there any?


Aucun commentaire:

Enregistrer un commentaire