ee-waiter

control flow: parallel asynchronous job execution

npm install ee-waiter
3 downloads in the last day
6 downloads in the last week
32 downloads in the last month

parallel control flow library

var Waiter = require( "ee-waiter" );


var waiter = new Waiter( function( err ){
    if ( err ) console.log( "there was an erorr:", err );
    ...
} );


waiter.add( function( cb ){
    // do something ..
    cb();
} );

waiter.add( function( cb ){
    // do something ..
    cb();
} );


// start all previosuly defined jobs in parallel
waiter.start();
npm loves you