batch
Advanced tools
Comparing version 0.1.0 to 0.1.1
0.1.1 / 2012-07-03 | ||
================== | ||
* change "complete" event to "progress" | ||
0.1.0 / 2012-07-03 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -68,3 +68,3 @@ | ||
results[index] = res; | ||
that.emit('complete', res, index); | ||
that.emit('progress', res, index); | ||
--pending || cb(null, results); | ||
@@ -71,0 +71,0 @@ }); |
{ | ||
"name": "batch" | ||
, "version": "0.1.0" | ||
, "version": "0.1.1" | ||
, "description": "Simple async batch" | ||
@@ -5,0 +5,0 @@ , "author": "TJ Holowaychuk <tj@vision-media.ca>" |
@@ -24,3 +24,3 @@ | ||
batch.on('complete', function(user, i){ | ||
batch.on('progress', function(user, i){ | ||
// result of the ith job | ||
@@ -27,0 +27,0 @@ }); |
3429