sindresorhus/
Promise queue with concurrency control
USD raised
Recent activities
Add an option to add a timeout for queue members
100% coverage
`error` and `completed` events not emitted on v6
EventEmitter import breaks TypeScript
can not run on react-native project
Next `interval` is ignored after `await queue.add(...)`
Timeout option question
'/node_modules/eventemitter3/index.js' does not provide an export named 'default'
Again '/node_modules/eventemitter3/index.js' does not provide an export named 'default'
TypeError: PQueue is not a constructor
[Feature request] Get number of tasks before one
Jest detects open handles on queue.add()
Default value for priority doesn't get applied
How do I only add items up until the concurrency limit and then wait until a pending promise is fulfilled?
`PQueue.on` does not exist
How can I use jest fake timers when testing code that use p-queue?
p-queue hanging
Doc request: Why is "concurrency" not working as expected?
Multiple interval/intervalCap constraints?
latest update causes all instances of `add` to return response | void
Version 7.3.1 appears to be broken
Support deno
How to properly handle exceptions to avoid process exiting?
Event handler for 'error'
Build script fails with "del: not found"
Testing `complete` event when its the only non-respondent event.
Aborting pending and waiting tasks at the same time hangs the queue
Getting queued results back in order
#isIntervalPaused maybe useless
Module not found: Can't resolve 'p-queue' in xxx at `7.3.0`
Maintenance of last Non-ESM release
Maintainer wanted
Allow not to copy/paste throwOnTimeout
`idle` never fires when queue never receives tasks
awaiting for queue.add makes it non-concurrent and not-a-queue
[Feature Request] API RateLimit adaptable mode
Getting queued results back in order PROGRESSIVELY
How do I remove a specific queue'd item?
Remove from Pending tasks
event:active is not emitted after each item processed while setting concurrency greater than 1
No identifiers allowed directly after numeric literal
Item specific concurrency limit
Can we change the node version to be compatible with 16 or 18 on last version?
Abort signals don't remove tasks from the queue
RangeError: Maximum call stack size exceeded
[Bug] Wrong type in package.json
This documentation looks very legit. It's AI generated from the tests, and some prompting.....
[7.4.0] Type regression when node16 module/moduleResolution
Clarify the documentation for "add"?
BUG: function_ is not a function
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
TypeScript TS2344 error with enabled "exactOptionalPropertyTypes" setting.
AsyncLocalStorage execution context not propagated correctly
p-queue is not correctly exported and breaks Bundlephobia and unpkg.
[react-native] privateMap.get is not a function
Weakmap.get is not a function
Thank you
refactor: async is unnecessary.
Where TaskResultType place?
Know what is the priority of the current running function
Reaching 100% coverage (pt 2)
Publish a new version for support TypeScript v3.9
add() function doesnt do anything after extended use
Add function should not be async
Other events
Timeout documentation
`carryoverConcurrencyCount` docs are vague
size and pending bad experience
Throw error if exceeding x amount of items, stop queue
Howto: Wait for currently executing tasks to complete
pqueue clear no effect
'next' doesn't work.
onIdle is not called
Build broken in 6.2.1
Property '_doesIntervalAllowAnother' implicitly has type 'any'
Backpressure
An unhandled exception occurred: Unexpected token: keyword (default)
Adding items to current queue?
Change output target to ES5 please
Helper method to emulate add(() => {})
Possible memory leak?
Timeout documentation and questions
How to add to queue asynchronously?
Rejecting the whole queue when a task rejects
onSuccess?
Question on usage
Does it work across multiple Node.js processes?
If `throwOnTimeout` is `false` - `add()` resolves to undefined
DeprecationWarning: No "main" or "exports" field defined in the package.json
Check each batch results before continue
queue.on on not working
Error in Typescript
Must use import to load ES Module
queue resources
native esm is experimental and doesn't yet work with test or monitoring code that must manipulate the code
eventemitter can only ve default-imported using the esModuleInterop flag
Module not found: Error: Can't resolve 'p-queue' after updating to 7.1.0
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module
Using p-queue with `require`
Module not found
make PriorityQueue array protected rather than private
onEmpty/onIdle misusing Promises
'p-timeout' is expected to be of type CommonJS - Why Am I Getting This Error? v7.0.0
Cannot find module 'p-queue' from 'test/q.test.ts'
Imports broken
Why must wait for `n` tasks added when set concurrency = `n`
Feature request: onSize promise
Usage with ESM in NodeJS is unintuitive
intervalCap not respected when using large intervalCaps or small intervals
Improve name of `carryoverConcurrencyCount` option
Support `AbortController`
REST calls not triggered to run till entire queue added.
CustomQueue doesn't work?
Vague Documentation
UnhandledPromiseRejectionWarning
Š 2019 BoostIO, Inc.