Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promise-pool-ext

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-pool-ext - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

lib/modules/seq-worker.js

1

lib/index.js
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';

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc