sleep-promise
Delay function
A utility function that resolves a promise after a specified delay.
Resolves a promise after a specified delay.
86 stars
2 watching
9 forks
Language: JavaScript
last commit: almost 2 years agoLinked from 1 awesome list
javascriptpromise
Related projects:
| Repository | Description | Stars |
|---|---|---|
| Allows delaying promises by a specified amount of time or a random range. | 609 | |
| Debounces promise-returning & async functions to delay their execution until after a specified wait period has elapsed since the last call. | 211 | |
| Provides a promise that can be delayed to execute at a specific time or after another operation is completed. | 77 | |
| Calls a function repeatedly until a condition returns true and then resolves the promise | 1 | |
| Repeats an action until a condition is met, then resolves a promise. | 3 | |
| A promise class that defers execution until the promise is actually used or specific methods are called | 269 | |
| Wait for a specified number of promises to be fulfilled | 36 | |
| A jQuery plugin for executing event handlers with delayed or throttled execution. | 152 | |
| Repeats an action until a condition is met and then resolves a promise | 3 | |
| A tiny Promise wrapper around setTimeout | 193 | |
| Improves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal. | 46 | |
| Manages concurrent tasks in a serial fashion with configurable parallelism | 29 | |
| Concurrently execute multiple promise-returning functions with optional concurrency limits. | 319 | |
| A utility to measure the time taken by a promise to resolve | 70 | |
| Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input. | 397 |