notenoughneon

notenoughneon/await-semaphore

Awaitable semaphore/mutex

TypeScript
69
19
MIT License

`await-semaphore` is an ES6 promise-based semaphore and mutex implementation for JavaScript and TypeScript, providing three usage styles: async/await, thunk-based automatic acquire/release, and promise chaining. It's designed for developers who need to control concurrency in asynchronous code, such as limiting parallel API requests or protecting critical sections in Node.js or browser environments. The library includes both `Semaphore` for general counting semaphores and `Mutex` as a convenience wrapper for binary semaphores.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of notenoughneon/await-semaphore

Account's avatar
simple, flexible, fun test framework
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
The TypeScript Definition Manager

Support the repos that depend on notenoughneon/await-semaphore

Top contributors

notenoughneon's profile
notenoughneon
15 contributions
hotchpotch's profile
hotchpotch
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet