From b25793cd0f3e2f08e4a2eba2eac79a693316d7be Mon Sep 17 00:00:00 2001 From: Justin Date: Mon, 1 Jun 2015 21:43:40 +0000 Subject: [PATCH] async.setImmediate --- lib/async.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/async.js b/lib/async.js index 9c4f0bbcc..75c99f472 100644 --- a/lib/async.js +++ b/lib/async.js @@ -835,7 +835,7 @@ q.saturated(); } }); - setImmediate(q.process); + async.setImmediate(q.process); } function _next(q, tasks) { return function(){ @@ -886,7 +886,7 @@ } workers += 1; var cb = only_once(_next(q, tasks)); - setImmediate(worker(data, cb)); + async.setImmediate(worker(data, cb)); } } },