Comparing version 1.5.1 to 1.5.2
@@ -49,3 +49,3 @@ function easyFor(obj, func, concurrency, last){ | ||
if(count.end >= max || err) | ||
{ | ||
{ | ||
if(last && !isEnd) | ||
@@ -81,3 +81,3 @@ { | ||
} | ||
}; | ||
}; | ||
max == 0 ? next() : run(); | ||
@@ -89,2 +89,3 @@ } | ||
{ | ||
if(arr.length === 0) result = false; | ||
for(var a of arr) | ||
@@ -91,0 +92,0 @@ { |
{ | ||
"name": "easy-loop", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Easy sync loop processing for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/easy-loop", |
33532
678