ee-waiter

control flow: parallel asynchronous job execution

npm install ee-waiter
7 downloads in the last week
35 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