Wrapper around async.queue that provides a promise-based API for queueing asynchronous tasks with concurrency control. Current stable version: 1.0.5. Release cadence: infrequent, last updated in 2019. Key differentiators: automatically waits for pending work to finish before rejecting on failure, preventing runaway tasks; also exports a reference to the async module it depends on. Suitable for Node.js environments with Promise-based workflows.
npm install async-promise-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: import default function, create a worker that returns a promise, enqueue tasks with concurrency limit, and handle completion or errors.
Use `const queue = require('async-promise-queue')` for CommonJS; `import queue from 'async-promise-queue'` for ESM.Wrap synchronous work in a Promise, or use `queue.async.asyncify(worker)`.
Consider alternative libraries like `p-queue` for better TypeScript support and active maintenance.
Use `const queue = require('async-promise-queue')` or `import queue from 'async-promise-queue'`.Wrap your worker with `queue.async.asyncify(worker)` if using promises.
Ensure the package is installed and imported correctly with proper module system (require vs import).
No dependency data recorded yet.