Displaying 1 to 4 from 4 results

p-debounce - Debounce promise-returning & async functions

  •    Javascript

Returns a function that delays calling fn until after wait milliseconds have elapsed since the last time it was called.Promise-returning/async function.

p-queue - Promise queue with concurrency control

  •    Javascript

Useful for rate-limiting async operations. For example, when interacting with a REST API or when doing CPU/memory intensive tasks.Here we run only one promise at the time. For example, set concurrency to 4 to run four promises at the time.