@highoutput/async-group
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -9,3 +9,4 @@ export default class AsyncGroup { | ||
static wait(): Promise<void>; | ||
static get size(): number; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -42,2 +42,8 @@ "use strict"; | ||
} | ||
static get size() { | ||
if (this.instance) { | ||
return this.instance.size; | ||
} | ||
return 0; | ||
} | ||
} | ||
@@ -44,0 +50,0 @@ exports.default = AsyncGroup; |
{ | ||
"name": "@highoutput/async-group", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Groups together multiple promises and allows to 'wait' for all of them to settle.", | ||
@@ -41,3 +41,3 @@ "author": "High Output Ventures", | ||
}, | ||
"gitHead": "c29f4197b642e2799c7b7d83996e5564b03da156" | ||
"gitHead": "a4168f70f524bdebac1c594fb6d00115421ef937" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7374
82