A lightweight async queue for managing request concurrency with promise-based flow control. v0.7.0 is the latest stable release with infrequent updates. It supports configurable concurrency limits, task retries, and priority queuing. Unlike alternatives like p-limit, it offers built-in retry logic and event-based progress tracking, but lacks extensive ecosystem adoption.
npm install fc-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a queue with limited concurrency and retries, adds multiple async tasks, and logs their completion.
Always call methods on the queue instance, e.g., queue.add(task) not const { add } = queue.Check array length before calling addAll or handle empty results explicitly.
Use 'retryDelays' (array of delays) instead of a single fixed delay.
Add event listeners after the queue is started or use the 'started' event to set up listeners.
Upgrade to fc-queue@>=0.6.0 and use named import: import { Queue } from 'fc-queue'.Run 'npm install fc-queue' and ensure import path is 'fc-queue' (no subpath).
Call method on the instance: queue.add(task) instead of const { add } = queue; add(task).Increase retries or fix the task logic; handle rejection via queue.on('failed', ...).No dependency data recorded yet.