p-queue is a JavaScript promise queue and concurrent task scheduler designed to limit the number of active asynchronous operations. It serves as an asynchronous rate limiter and promise lifecycle manager to prevent resource exhaustion. The project distinguishes itself through priority-based task scheduling and token-bucket rate limiting to control execution frequency. It integrates with abort signals for task cancellation and provides mechanisms to pause, resume, and clear pending operations. The tool covers broader traffic management capabilities including operation timeouts and concurrency
Map over promises concurrently
Run promise-returning & async functions concurrently with optional limited concurrency
Run promise-returning & async functions a specific number of times concurrently
Run multiple promise-returning & async functions with limited concurrency
The main features of sindresorhus/p-limit are: Concurrency Control, Promise Utilities.
Open-source alternatives to sindresorhus/p-limit include: sindresorhus/p-queue — p-queue is a JavaScript promise queue and concurrent task scheduler designed to limit the number of active… sindresorhus/p-times — Run promise-returning & async functions a specific number of times concurrently. sindresorhus/p-all — Run promise-returning & async functions concurrently with optional limited concurrency. sindresorhus/p-map — Map over promises concurrently. petkaantonov/bluebird — Bluebird is a JavaScript promise library designed for managing asynchronous operations with a custom promise… kevinoid/promise-nodeify — promise-nodeify.