Displaying 1 to 3 from 3 results

throat - Throttle a collection of promise returning functions

  •    Javascript

Throttle the parallelism of an asynchronous, promise returning, function / functions. This has special utility when you set the concurrency to 1. That way you get a mutually exclusive lock. This returns a function that acts a bit like a lock (exactly as a lock if concurrency is 1).

start - :red_circle: Functional task runner for Node.js

  •    TypeScript

Coming soon. All the packages in this repository are released under the terms of the MIT License.

semaphorejs - A functional-style Semaphore for managing concurrent access to a resource

  •    Javascript

A functional-style Semaphore for managing concurrent access to a resource with async functions and Promises. Most of the time, you should use limit() instead of creating a Semaphore yourself. limit() preserves your existing API and simply "decorates" the async function with rate limiting.