p-map

Promise mapper

A utility for mapping over promises concurrently while controlling concurrency and error handling.

Map over promises concurrently

GitHub

1k stars
14 watching
60 forks
Language: JavaScript
last commit: almost 2 years ago
Linked from 2 awesome lists

asyncasync-awaitasync-functionsawaitconcurrencyiterationjavascriptmappernodejsparallelpromisepromises

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/p-propsA utility for running multiple promises concurrently and mapping values to fulfill them194
sindresorhus/p-map-seriesSerializes promise-based operations to ensure predictable order and execution of side effects.48
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-allConcurrently execute multiple promise-returning functions with optional concurrency limits.319
sindresorhus/p-timesRuns promise-returning & async functions multiple times concurrently39
sindresorhus/p-settleA utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control.90
sindresorhus/p-each-seriesIterates over promises in serial order, stopping at the first failed promise.50
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55
sindresorhus/p-eventPromises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.429
sindresorhus/p-logUtility for logging promise values and errors in a chain of operations26
sindresorhus/p-limitLimits concurrent execution of promise-returning and async functions.2,083
sindresorhus/p-timeA utility to measure the time taken by a promise to resolve70
sindresorhus/p-ifA utility for conditional promise handling and chaining in TypeScript applications.60
sindresorhus/p-someWait for a specified number of promises to be fulfilled36
sindresorhus/p-tapHelps tap into a promise chain without affecting its value or state132