p-debounce

Function Debouncer

Debounces promise-returning & async functions to delay their execution until after a specified wait period has elapsed since the last call.

Debounce promise-returning & async functions

GitHub

211 stars
5 watching
24 forks
Language: JavaScript
last commit: 7 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/delay Allows delaying promises by a specified amount of time or a random range. 609
sindresorhus/p-event Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. 429
sindresorhus/p-some Wait for a specified number of promises to be fulfilled 36
sindresorhus/p-tap Helps tap into a promise chain without affecting its value or state 132
sindresorhus/p-defer Provides a promise that can be delayed to execute at a specific time or after another operation is completed. 73
sindresorhus/p-lazy A promise class that defers execution until the promise is actually used or specific methods are called 266
sindresorhus/p-all Concurrently execute multiple promise-returning functions with optional concurrency limits. 315
sindresorhus/p-any A utility function to wait for any of multiple promises to be fulfilled with cancellation support. 55
sindresorhus/p-times Runs promise-returning & async functions multiple times concurrently 38
sindresorhus/p-memoize Memoizes promise-returning and async functions to cache consecutive function calls by storing results of identical input. 396
sindresorhus/p-race Improves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal. 46
sindresorhus/p-filter Tool for filtering and concurrent execution of promises with an adjustable concurrency level 72
brummelte/sleep-promise A utility function that resolves a promise after a specified delay. 86
sindresorhus/p-whilst An implementation of an async while loop that repeatedly executes a function until a condition is met or fails 54
sindresorhus/p-settle A utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control. 90