it-parallel-batch
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -15,7 +15,7 @@ export = parallelBatch; | ||
* @template T | ||
* @param {AsyncIterable<() => Promise<T>>} source | ||
* @param {AsyncIterable<() => Promise<T>>|Iterable<() => Promise<T>>} source | ||
* @param {number} [size=1] | ||
* @returns {AsyncIterable<T>} | ||
*/ | ||
declare function parallelBatch<T>(source: AsyncIterable<() => Promise<T>>, size?: number | undefined): AsyncIterable<T>; | ||
declare function parallelBatch<T>(source: AsyncIterable<() => Promise<T>> | Iterable<() => Promise<T>>, size?: number | undefined): AsyncIterable<T>; | ||
declare namespace parallelBatch { | ||
@@ -22,0 +22,0 @@ export { Success, Failure }; |
@@ -20,3 +20,3 @@ 'use strict' | ||
* @template T | ||
* @param {AsyncIterable<() => Promise<T>>} source | ||
* @param {AsyncIterable<() => Promise<T>>|Iterable<() => Promise<T>>} source | ||
* @param {number} [size=1] | ||
@@ -23,0 +23,0 @@ * @returns {AsyncIterable<T>} |
{ | ||
"name": "it-parallel-batch", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"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", | ||
@@ -41,3 +41,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "29126fa87dae108acef381693812f22ac8f9362b" | ||
"gitHead": "b621056a11c9bfe991d1040b22a46651fa907a3c" | ||
} |
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
8712