Comparing version 0.0.1 to 0.0.2
@@ -75,3 +75,3 @@ /* | ||
Group.prototype.slot = function slot() { | ||
this.debug && console.log("slotting", this.left); | ||
if (arguments.length) { | ||
@@ -93,2 +93,3 @@ for (var i = 0; i < arguments.length; i++) { | ||
return function (err, data) { | ||
group.debug && console.log("slot DONE", group.left); | ||
if (err) return group.error(err); | ||
@@ -102,2 +103,3 @@ group.args[index] = data; | ||
Group.prototype.wait = function wait() { | ||
this.debug && console.log("waiting", this.left); | ||
var group = this; | ||
@@ -110,2 +112,3 @@ group.left++; | ||
return function (err, data) { | ||
group.debug && console.log("wait DONE", group.left); | ||
if (err) return group.error(err); | ||
@@ -112,0 +115,0 @@ if (--group.left === 0) group.done(); |
{ | ||
"name": "ff", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Asynchronous flow control library for node (and browsers)", | ||
@@ -15,2 +15,2 @@ "engine": [ "node >=0.2.0" ], | ||
"main": "lib/ff" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5994
182