queue.next() to proceed to the next function in queue

Example:


function fn () {
  console.log(arguments);

  queue.next();
}

queue()
  .defer(fn, 1)
  .defer(fn, 2)
  .awaitAll(function () {
    alert('done!');
  });