it-parallel-batch
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -7,4 +7,4 @@ export = parallelBatch; | ||
/** | ||
* @typedef {{ok:false, err:Error}} Failure | ||
*/ | ||
* @typedef {{ok:false, err:Error}} Failure | ||
*/ | ||
/** | ||
@@ -11,0 +11,0 @@ * Takes an (async) iterator that emits promise-returning functions, |
@@ -10,3 +10,3 @@ 'use strict' | ||
/** | ||
/** | ||
* @typedef {{ok:false, err:Error}} Failure | ||
@@ -33,4 +33,4 @@ */ | ||
p => { | ||
return p().then(value => ({ ok: true, value }), err => ({ ok: false, err })) | ||
}) | ||
return p().then(value => ({ ok: true, value }), err => ({ ok: false, err })) | ||
}) | ||
@@ -37,0 +37,0 @@ for (let i = 0; i < things.length; i++) { |
{ | ||
"name": "it-parallel-batch", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Takes an async iterator that emits promise-returning functions, invokes them in parallel and emits the results in the same order as the input", | ||
@@ -31,3 +31,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"it-batch": "^1.0.7" | ||
"it-batch": "^1.0.8" | ||
}, | ||
@@ -41,3 +41,4 @@ "typesVersions": { | ||
} | ||
} | ||
}, | ||
"gitHead": "072e516f67366da9a371d54bbb216850502d78aa" | ||
} |
Sorry, the diff of this file is not supported yet
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
8462
Updatedit-batch@^1.0.8