promise-pool-ext
Advanced tools
Comparing version 3.0.2 to 3.1.0
export { default as Pool } from './modules/pool.js'; | ||
export { default as PoolManager } from './modules/pool-manager.js'; | ||
export { default as SeqWorker } from './modules/seq-worker.js'; |
{ | ||
"name": "promise-pool-ext", | ||
"type": "module", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -73,3 +73,18 @@ # promise-pool-ext | ||
### SeqWorker | ||
Allows sequential handling of async tasks that are enqueued. | ||
#### enqueue(<fn>) | ||
Used to enqueue an (async) task. This task will be executed once | ||
all previous tasks have executed. | ||
#### flush() | ||
Can use flush to finish all pending tasks in order. The next task | ||
is only executed once the previous one has completed. | ||
See tests for more examples. | ||
### Parameters | ||
@@ -76,0 +91,0 @@ |
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
13183
9
223
110