p-queue

Promise queue with concurrency control

MIT License

Downloads
26.5M
Stars
3.2K
Committers
31

Bot releases are hidden (Show)

p-queue - Latest Release

Published by sindresorhus 10 months ago

  • Fix TypeScript types for when tsconfig exactOptionalPropertyTypes is enabled (#202) ec4e2a3

https://github.com/sindresorhus/p-queue/compare/v8.0.0...v8.0.1

p-queue -

Published by sindresorhus 11 months ago

Breaking

  • Require Node.js 18 68dfe95
  • Removed the AbortError export. It now throws the built-in DOMException when using the signal option. 68dfe95
  • TypeScript: Rename DefaultAddOptions type to QueueAddOptions

https://github.com/sindresorhus/p-queue/compare/v7.4.1...v8.0.0

p-queue -

Published by sindresorhus about 1 year ago

p-queue -

Published by sindresorhus about 1 year ago

p-queue -

Published by Richienb over 1 year ago

p-queue -

Published by Richienb over 1 year ago

p-queue -

Published by Richienb over 1 year ago

p-queue -

Published by sindresorhus over 1 year ago

p-queue -

Published by sindresorhus about 2 years ago

p-queue -

Published by sindresorhus over 2 years ago

p-queue -

Published by sindresorhus over 3 years ago

p-queue -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 8c7325a
  • This package is now pure ESM. Please read this.

Improvements

  • Add error & completed events (#130) a176837
  • Add .onSizeLessThan() helper method (#131) 8d0a356

https://github.com/sindresorhus/p-queue/compare/v6.6.2...v7.0.0

p-queue -

Published by sindresorhus about 4 years ago

  • Fix obscure unhandled rejection when calling .clear() 933ea23

https://github.com/sindresorhus/p-queue/compare/v6.6.1...v6.6.2

p-queue -

Published by sindresorhus about 4 years ago

p-queue -

Published by sindresorhus over 4 years ago

p-queue -

Published by sindresorhus over 4 years ago

  • Update to TypeScript 3.9 4b4d2fa b4f2158

https://github.com/sindresorhus/p-queue/compare/v6.4.0...v6.5.0

p-queue -

Published by sindresorhus over 4 years ago

p-queue -

Published by sindresorhus over 4 years ago

  • Add .sizeBy() method to find queue size by priority (#94) a9f5778
    If you implement your own queue, you need to implement the filter method to use .sizeBy().

https://github.com/sindresorhus/p-queue/compare/v6.2.1...v6.3.0

p-queue -

Published by sindresorhus almost 5 years ago

  • Fix problem with TimeoutError import (#88) db039dd

https://github.com/sindresorhus/p-queue/compare/v6.2.0...v6.2.1

p-queue -

Published by sindresorhus about 5 years ago

  • Don't include source maps in the package f79384b
    They were broken anyway and it doesn't have much value for TS as it compiles to readable JS.

https://github.com/sindresorhus/p-queue/compare/v6.1.1...v6.2.0