p-break
Breakout tool
A utility to exit a promise chain early and selectively execute subsequent promises based on conditions.
Break out of a promise chain
22 stars
6 watching
5 forks
Language: JavaScript
last commit: almost 4 years ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
| A utility function to start a promise chain by executing a synchronous function safely | 58 |
| A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |
| Utility for logging promise values and errors in a chain of operations | 26 |
| A utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control. | 90 |
| Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 75 |
| Helps tap into a promise chain without affecting its value or state | 132 |
| A utility function for handling conditional promise catches | 38 |
| Wait for a specified number of promises to be fulfilled | 36 |
| A utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling. | 808 |
| Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
| A promise class that defers execution until the promise is actually used or specific methods are called | 269 |
| Iterates over promises in serial order, stopping at the first failed promise. | 50 |
| A utility for conditional promise handling and chaining in TypeScript applications. | 60 |
| A utility to measure the time taken by a promise to resolve | 70 |
| Transforms an asynchronous list into a single value by applying a reduction function | 68 |