sindresorhus/
Promise queue with concurrency control
USD raised
Recent activities
This documentation looks very legit. It's AI generated from the tests, and some prompting.....
Allow not to copy/paste throwOnTimeout
One Queue, Multiple workers
Is it feasible to change priority of a Queued item on the fly
Possibility to tap into already executed data
Feature Request - awaitNextInterval
Documentation: I feel I have a use-case that I'm not sure if the queue fulfils when reading the doc
internal `pending` count out of sync
How can I use jest fake timers when testing code that use p-queue?
How do I only add items up until the concurrency limit and then wait until a pending promise is fulfilled?
Default value for priority doesn't get applied
Jest detects open handles on queue.add()
[Feature request] Get number of tasks before one
Timeout option question
Next `interval` is ignored after `await queue.add(...)`
`error` and `completed` events not emitted on v6
Feature request: Ability to change interval and intervalCap at runtime
Multiple interval/intervalCap constraints?
Event handler for 'error'
Testing `complete` event when its the only non-respondent event.
Getting queued results back in order
#isIntervalPaused maybe useless
p-queue hanging
Use `EventTarget` when targeting Node.js 20
Check each batch results before continue
make PriorityQueue array protected rather than private
intervalCap not respected when using large intervalCaps or small intervals
Improve name of `carryoverConcurrencyCount` option
Know what is the priority of the current running function
Reaching 100% coverage (pt 2)
add() function doesnt do anything after extended use
Other events
Timeout documentation
size and pending bad experience
Throw error if exceeding x amount of items, stop queue
Howto: Wait for currently executing tasks to complete
Backpressure
Adding items to current queue?
Helper method to emulate add(() => {})
Refactor module in TypeScript
Return a promise from start()?
Add option to update concurrency
onSuccess?
Wait until the size <= concurrency
How to add to queue asynchronously?
Rejecting the whole queue when a task rejects
onEmpty/onIdle misusing Promises
If a queue is cleared before completion, newly-added items don't run.
Š 2019 BoostIO, Inc.