404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
var abort = require('./abort.js')
  , async = require('./async.js')
  ;

// API
module.exports = terminator;

/**
 * Terminates jobs in the attached state context
 *
 * @this  AsyncKitState#
 * @param {function} callback - final callback to invoke after termination
 */
function terminator(callback)
{
  if (!Object.keys(this.jobs).length)
  {
    return;
  }

  // fast forward iteration index
  this.index = this.size;

  // abort jobs
  abort(this);

  // send back results we have so far
  async(callback)(null, this.results);
}

Filemanager

Name Type Size Permission Actions
abort.js File 497 B 0644
async.js File 599 B 0644
defer.js File 441 B 0644
iterate.js File 1.75 KB 0644
readable_asynckit.js File 1.57 KB 0644
readable_parallel.js File 673 B 0644
readable_serial.js File 655 B 0644
readable_serial_ordered.js File 941 B 0644
state.js File 941 B 0644
streamify.js File 2.89 KB 0644
terminator.js File 533 B 0644