A queue with custom concurrency and time limits, inspired by async/queue but with variable arguments in the worker, events, and optional time limits. Version 4.0.0 is current, ships TypeScript types, requires Node >=10. Differentiators include support for async workers, per-task timeout, rate limiting (every option), and custom store backends (e.g., Redis). Maintained with regular releases.
npm install timequeueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a TimeQueue with an async worker, pushes two tasks, and logs results.
Check queue.isFull() before pushing, or set maxQueued to a high value.
Ensure async workers return a promise and do not accept a callback parameter.
Use 'active' for immediate count; use 'intransit' for rate-limited queue logic.
Ensure the first argument to new TimeQueue() is a function (async or sync with callback).
Increase timeout or optimize worker to complete faster.
Run 'npm install timequeue' in your project.
No dependency data recorded yet.