async-waterfall icon indicating copy to clipboard operation
async-waterfall copied to clipboard

:fountain: Simple, isolated async waterfall module for JavaScript. Zero dependencies. Runs a list of tasks, passing the results of each into the next one.

Results 2 async-waterfall issues
Sort by recently updated
recently updated
newest added

**Hi, I tried to re-implement this functionality with the following code. Please correct me if there is any mistake.** ``` function waterfall(fns, cb) { if (Reflect.toString.call(fns) !== '[object Array]') {...

Running this snippet ```javascript var step=function(item,nextCallback) { console.log("next",item) nextCallback.apply(this,[item,nextCallback]) } waterfall([...new Array(5).keys()].map(function (arrayItem) { return (nextCallback) => { step(arrayItem,nextCallback) } })); ``` I get only ``` next 0 next 1...