p-limit
Concurrent Limiter
Limits concurrent execution of promise-returning and async functions.
Run multiple promise-returning & async functions with limited concurrency
2k stars
15 watching
105 forks
Language: JavaScript
last commit: 27 days ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/p-all | Concurrently execute multiple promise-returning functions with optional concurrency limits. | 315 |
sindresorhus/p-times | Runs promise-returning & async functions multiple times concurrently | 38 |
sindresorhus/p-throttle | A utility for rate-limiting function calls to prevent excessive usage and ensure efficient resource utilization | 443 |
sindresorhus/p-filter | Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 72 |
sindresorhus/onetime | Ensures a function is only called once by wrapping it in a wrapper function that throws an error if called again | 162 |
sindresorhus/p-map | A utility for mapping over promises concurrently while controlling concurrency and error handling. | 1,292 |
sindresorhus/p-each-series | Iterates over promises in serial order, stopping at the first failed promise. | 50 |
sindresorhus/p-some | Wait for a specified number of promises to be fulfilled | 36 |
sindresorhus/p-settle | A utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control. | 90 |
sindresorhus/p-map-series | Serializes promise-based operations to ensure predictable order and execution of side effects. | 47 |
sindresorhus/p-reduce | Transforms an asynchronous list into a single value by applying a reduction function | 68 |
sindresorhus/p-event | Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
sindresorhus/p-defer | Provides a promise that can be delayed to execute at a specific time or after another operation is completed. | 73 |
sindresorhus/p-any | A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |
vivek-ng/concurrency-limiter | A library that limits concurrency and provides features like timeouts, dynamic priority, and context cancellation for goroutines. | 17 |