lib/haibu/drone/index.js
function startDrones (pkg, done) {
    if (pkg.drones == 0) {
      return done();
    }

    var started = 0;

    async.whilst(function () {
      return started < pkg.drones;
    }, function (next) {
      started++;
      server.drone.start(pkg, next);
    }, done);
  }
function startDrones (pkg, done) {
    if (pkg.drones == 0) {
      return done();
    }

    var started = 0;

    async.whilst(function () {
      return started < pkg.drones;
    }, function (next) {
      started++;
      server.drone.start(pkg, next);
    }, done);
  }
function startDrones ( pkg , done ) { if ( pkg . drones == 0 ) { return done ( ) ; } var started = 0 ; async . whilst ( function ( ) { return started < pkg . drones ; } , function ( next ) { started ++ ; server . drone . start ( pkg , next ) ; } , done ) ; }
Helper function which starts multiple drones a given application.
Helper function which starts multiple drones a given application .