@alwatr/async-queue
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.2.0](https://github.com/Alwatr/nanolib/compare/@alwatr/async-queue@1.1.1...@alwatr/async-queue@1.2.0) (2024-01-16) | ||
### Features | ||
* **async-queue:** Add waitForAllFinish method to AsyncQueue class ([3fdef04](https://github.com/Alwatr/nanolib/commit/3fdef04244c515b727c9ccabfd21d7667b561a83)) by @AliMD | ||
## [1.1.1](https://github.com/Alwatr/nanolib/compare/@alwatr/async-queue@1.1.0...@alwatr/async-queue@1.1.1) (2024-01-16) | ||
@@ -8,0 +14,0 @@ |
@@ -62,3 +62,12 @@ /** | ||
waitForFinish(taskId: string): Promise<unknown>; | ||
/** | ||
* Wait for the all tasks in the queue to finish. | ||
* @returns A promise that resolves when all tasks are done. | ||
* @example | ||
* ```typescript | ||
* await queue.waitForAllFinish(); | ||
* ``` | ||
*/ | ||
waitForAllFinish(): Promise<unknown[]>; | ||
} | ||
//# sourceMappingURL=main.d.ts.map |
{ | ||
"name": "@alwatr/async-queue", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "A queue that executes async tasks in order like mutex and semaphore methodology for javascript and typescript.", | ||
@@ -62,2 +62,3 @@ "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", | ||
"b": "yarn run build", | ||
"t": "yarn run test", | ||
"w": "yarn run watch", | ||
@@ -70,2 +71,3 @@ "c": "yarn run clean", | ||
"build:ts": "tsc --build", | ||
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest", | ||
"watch": "yarn run watch:ts & yarn run watch:es", | ||
@@ -85,5 +87,6 @@ "watch:es": "yarn run build:es --watch", | ||
"@types/node": "^20.11.3", | ||
"jest": "^29.7.0", | ||
"typescript": "^5.3.3" | ||
}, | ||
"gitHead": "369887cfdcbf5c6f3899880a5e217b102b36706c" | ||
"gitHead": "808ba074470a2a1482d692fdb477730b40385c1d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19161
11
122
7