p-reduce

Value accumulator

Transforms an asynchronous list into a single value by applying a reduction function

Reduce a list of values using promises into a promise for a value

GitHub

68 stars
6 watching
7 forks
Language: JavaScript
last commit: almost 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/observable-to-promise Converts an Observable to a Promise for asynchronous data handling 47
sindresorhus/p-filter Tool for filtering and concurrent execution of promises with an adjustable concurrency level 72
sindresorhus/p-some Wait for a specified number of promises to be fulfilled 36
sindresorhus/p-each-series Iterates over promises in serial order, stopping at the first failed promise. 50
sindresorhus/p-tap Helps tap into a promise chain without affecting its value or state 132
sindresorhus/p-whilst An implementation of an async while loop that repeatedly executes a function until a condition is met or fails 54
sindresorhus/p-map-series Serializes promise-based operations to ensure predictable order and execution of side effects. 47
sindresorhus/p-throttle A utility for rate-limiting function calls to prevent excessive usage and ensure efficient resource utilization 443
sindresorhus/p-all Concurrently execute multiple promise-returning functions with optional concurrency limits. 315
sindresorhus/p-limit Limits concurrent execution of promise-returning and async functions. 2,037
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/ps-list Lists running processes across multiple operating systems 273
sindresorhus/p-pipe Creates a reusable pipeline of promise-returning functions to compose and chain together multiple asynchronous operations. 122
sindresorhus/p-times Runs promise-returning & async functions multiple times concurrently 38