p-timeout
Timeout function
A utility function to decorate and manage timeouts on promises.
Timeout a promise after a specified amount of time
275 stars
7 watching
32 forks
Language: JavaScript
last commit: 4 months ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
| A utility to measure the time taken by a promise to resolve | 70 |
| A utility function to wait for a condition to be true while allowing for customizable timeout options and fallback behavior. | 155 |
| Allows delaying promises by a specified amount of time or a random range. | 609 |
| Wait for a specified number of promises to be fulfilled | 36 |
| Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. | 429 |
| A utility function to wait for any of multiple promises to be fulfilled with cancellation support. | 55 |
| Runs promise-returning & async functions multiple times concurrently | 39 |
| A utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling. | 808 |
| A utility library that simplifies the use of timeouts and intervals in JavaScript applications. | 152 |
| Tool for filtering and concurrent execution of promises with an adjustable concurrency level | 75 |
| A utility function to start a promise chain by executing a synchronous function safely | 58 |
| Controls function calls to limit their frequency within a specified time interval | 447 |
| Improves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal. | 46 |
| Concurrently execute multiple promise-returning functions with optional concurrency limits. | 319 |
| A utility to exit a promise chain early and selectively execute subsequent promises based on conditions. | 22 |