p-map
Promise mapper
A utility for mapping over promises concurrently while controlling concurrency and error handling.
Map over promises concurrently
1k stars
14 watching
58 forks
Language: JavaScript
last commit: 3 months ago
Linked from 2 awesome lists
asyncasync-awaitasync-functionsawaitconcurrencyiterationjavascriptmappernodejsparallelpromisepromises
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/p-props | A utility for running multiple promises concurrently and mapping values to fulfill them | 193 |
sindresorhus/p-map-series | Serializes promise-based operations to ensure predictable order and execution of side effects. | 47 |
sindresorhus/p-filter | Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 72 |
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-settle | A utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control. | 90 |
sindresorhus/p-each-series | Iterates over promises in serial order, stopping at the first failed promise. | 50 |
sindresorhus/p-any | A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |
sindresorhus/p-event | Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
sindresorhus/p-log | Utility for logging promise values and errors in a chain of operations | 26 |
sindresorhus/p-limit | Limits concurrent execution of promise-returning and async functions. | 2,037 |
sindresorhus/p-time | A utility to measure the time taken by a promise to resolve | 70 |
sindresorhus/p-if | A utility for conditional promise handling and chaining in TypeScript applications. | 60 |
sindresorhus/p-some | Wait for a specified number of promises to be fulfilled | 36 |
sindresorhus/p-tap | Helps tap into a promise chain without affecting its value or state | 132 |