astackrunner
v1.0.0
Published
like async.forEach but you can add more items to it while it's underway or finished
Downloads
6
Readme
astackrunner
"like async.forEach but you can add more items to it while it's underway or finished
usage:
parallelism = 2,
myStackRunner = aStackRunner.create( parallelism )
.onEmpty( console.log.bind(console, 'done!') )
.execute( function( val, cb ){ var err; console.log(val); cb( err ); } )
.add( [1,2,3] );```