Displaying 1 to 5 from 5 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.

d4c-queue - Execute tasks sequentially or concurrently

  •    TypeScript

Wrap an async/promise-returning/sync function as a queue-ready async function, which is enqueued while being called. This is convenient to reuse it. In synchronization mode, task queues execute original functions sequentially by default (equivalently concurrency limit = 1). In concurrency mode, it allows changing concurrency limit to have concurrent tasks executed. It also supports @synchronized/@concurrent decorator on instance or static methods. Passing arguments and using await to get return values are also supported. This package includes two builds.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.