Skip to content

Commit

Permalink
async.setImmediate
Browse files Browse the repository at this point in the history
  • Loading branch information
justincy committed Jun 1, 2015
1 parent 3f007e5 commit b25793c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@
q.saturated();
}
});
setImmediate(q.process);
async.setImmediate(q.process);
}
function _next(q, tasks) {
return function(){
Expand Down Expand Up @@ -886,7 +886,7 @@
}
workers += 1;
var cb = only_once(_next(q, tasks));
setImmediate(worker(data, cb));
async.setImmediate(worker(data, cb));
}
}
},
Expand Down

0 comments on commit b25793c

Please sign in to comment.