Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add running() which allows a task-callback to check if the queue has …

…drained.
  • Loading branch information...
commit 03edcad28e13c2809487a1afac5fb141a97f65f3 1 parent 4471254
@MaZderMind MaZderMind authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/async.js
View
3  lib/async.js
@@ -568,6 +568,9 @@
},
length: function () {
return tasks.length;
+ },
+ running: function () {
+ return workers;
}
};
return q;
Please sign in to comment.
Something went wrong with that request. Please try again.