@mtgoo/ctool
Advanced tools
+2
-2
@@ -384,4 +384,4 @@ /** | ||
| this.tasks = []; | ||
| this.maxConcurrency = (_a = options.maxConcurrency) !== null && _a !== void 0 ? _a : 5; | ||
| this.errBreak = (_b = options.errBreak) !== null && _b !== void 0 ? _b : false; | ||
| this.maxConcurrency = (_a = options === null || options === void 0 ? void 0 : options.maxConcurrency) !== null && _a !== void 0 ? _a : 5; | ||
| this.errBreak = (_b = options === null || options === void 0 ? void 0 : options.errBreak) !== null && _b !== void 0 ? _b : false; | ||
| } | ||
@@ -388,0 +388,0 @@ push(task) { |
@@ -6,4 +6,4 @@ export declare class TaskPool { | ||
| constructor(options?: { | ||
| maxConcurrency: number; | ||
| errBreak: boolean; | ||
| maxConcurrency?: number; | ||
| errBreak?: boolean; | ||
| }); | ||
@@ -10,0 +10,0 @@ private tasks; |
+1
-1
| { | ||
| "name": "@mtgoo/ctool", | ||
| "version": "0.1.5", | ||
| "version": "0.1.6", | ||
| "main": "./dist/ctool.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/ctool.es.js", |
Sorry, the diff of this file is too big to display
166721
0.09%