@handy-common-utils/promise-utils 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/promise-utils.js +1 -1
- package/package.json +1 -1
package/dist/promise-utils.js
CHANGED
|
@@ -141,7 +141,7 @@ class PromiseUtils {
|
|
|
141
141
|
* The results in the returned array are in the same order as the corresponding elements in the jobs array.
|
|
142
142
|
*/
|
|
143
143
|
static async withConcurrency(concurrency, jobs, operation) {
|
|
144
|
-
return (0, exports.inParallel)(concurrency, jobs, operation);
|
|
144
|
+
return (0, exports.inParallel)(concurrency, jobs, operation, { abortOnError: true });
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Executes multiple jobs/operations in parallel. By default, all operations are executed regardless of any failures.
|