async-deco
Advanced tools
Comparing version 5.1.7 to 5.1.8
{ | ||
"name": "async-deco", | ||
"version": "5.1.7", | ||
"version": "5.1.8", | ||
"description": "A collection of decorators for adding features to asynchronous functions (callback or promise based).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,3 @@ var defaultLogger = require('../utils/default-logger'); | ||
var retry = function () { | ||
if (intervalFunc(counter++) > 0) { | ||
if (counter++ && intervalFunc(counter) > 0) { // do not wait for counter === 0 | ||
setTimeout(function () { | ||
@@ -31,0 +31,0 @@ func.apply(context, args); |
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
103893