p-times

Concurrent runner

Runs promise-returning & async functions multiple times concurrently

Run promise-returning & async functions a specific number of times concurrently

GitHub

39 stars
7 watching
5 forks
Language: JavaScript
last commit: almost 5 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/p-allConcurrently execute multiple promise-returning functions with optional concurrency limits.319
sindresorhus/p-limitLimits concurrent execution of promise-returning and async functions.2,083
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-someWait for a specified number of promises to be fulfilled36
sindresorhus/p-each-seriesIterates over promises in serial order, stopping at the first failed promise.50
sindresorhus/p-timeA utility to measure the time taken by a promise to resolve70
sindresorhus/p-mapA utility for mapping over promises concurrently while controlling concurrency and error handling.1,376
sindresorhus/p-raceImproves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal.46
sindresorhus/p-whilstAn implementation of an async while loop that repeatedly executes a function until a condition is met or fails54
sindresorhus/p-eventPromises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.429
sindresorhus/p-map-seriesSerializes promise-based operations to ensure predictable order and execution of side effects.48
sindresorhus/p-pipeCreates a reusable pipeline of promise-returning functions to compose and chain together multiple asynchronous operations.122
sindresorhus/p-tryA utility function to start a promise chain by executing a synchronous function safely58
sindresorhus/p-settleA utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control.90
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55