astackrunner

v1.0.0
like async.forEach but you can add more items to it while it's underway or finished
async stack buffer nodejs

Build Status

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] );```
npm i astackrunner

Metadata

  • ISC
  • Whatever
  • =
  • released 11/18/2015

Downloads

Maintainers