@sapphire/async-queue@1.5.5
// Sequential asynchronous lock-based queue for promises
$ npm install @sapphire/async-queue
downloads/wk
1,123,902
license
MIT
version
1.5.5
published
Nov 9, 2024
What is @sapphire/async-queue?
A sequential asynchronous queue that uses locks to process promises one at a time, ensuring operations complete in order without race conditions. Developers use this package when they need to guarantee that async tasks execute sequentially rather than in parallel, such as managing rate-limited API calls or database operations that must happen in a specific order.
Links
Keywords
Maintainers
favna, kyranet, vladfrangu