p-whilst
Async loop
An implementation of an async while loop that repeatedly executes a function until a condition is met or fails
While a condition returns true, calls a function repeatedly, and then resolves the promise
54 stars
7 watching
9 forks
Language: JavaScript
last commit: 4 months ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
| Runs promise-returning & async functions multiple times concurrently | 39 |
| Concurrently execute multiple promise-returning functions with optional concurrency limits. | 319 |
| Creates a reusable pipeline of promise-returning functions to compose and chain together multiple asynchronous operations. | 122 |
| Transforms an asynchronous list into a single value by applying a reduction function | 68 |
| Repeats an action until a condition is met, then resolves a promise. | 3 |
| Converts an Observable to a Promise for asynchronous data handling | 47 |
| A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |
| Iterates over promises in serial order, stopping at the first failed promise. | 50 |
| Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 75 |
| Wait for a specified number of promises to be fulfilled | 36 |
| Limits concurrent execution of promise-returning and async functions. | 2,083 |
| A utility for mapping over promises concurrently while controlling concurrency and error handling. | 1,376 |
| Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
| Serializes promise-based operations to ensure predictable order and execution of side effects. | 48 |
| A utility to measure the time taken by a promise to resolve | 70 |