Releases: mmomtchev/Queue
Releases · mmomtchev/Queue
v2.1.4
v2.1.3
v2.1.2
v2.1.1
- Raise an exception when trying to add a task with an already existing id (instead of failing when trying to run it)
- Ability to dequeue multiple tasks when scheduling (fixes not reaching the maximum concurrency limit when the cool down is very low but more than zero)
- Ability to wait until there are only X tasks waiting in the queue (for throttling when enqueuing)
v2.1.0
v2.0.0
- Almost complete rewrite in TypeScript
- Use
PriorityQueue
fromtypescript-collection
O(log(n))
in all cases- Switch to mocha and test CJS/ES6/TS
- Many bugs and edge cases fixed
- The preferred way to import is now via the named export but the default export is still there
- 2.0.0 can lead to a slightly different execution order when using different priorities, throttling and concurrency-limiting at the same time - the new order is the correct one