Releases: JMPerez/promise-throttle
Releases · JMPerez/promise-throttle
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
This version adds a signal
parameter that allows the cancellation or abort operation of one or several queued promises. This is similar to the mechanism by which a fetch()
request can be aborted using AbortController.
Note about upgrading to version 1.0.0
If you were using the weight
option, you will need to pass it as a property in the options
object.
pt.add(..., 2 /* weight*/);
becomes
pt.add(..., {weight: 2});
this is so we can accommodate new options like signal
.
0.4.0
0.3.1
v0.3.0
This version makes a non-breaking change to the addAll()
method, which now returns a Promise
itself. This change was proposed and implemented by @mawrkus. Big kudos to him and thanks for contributing!
The development, testing and reporting flow has also been simplified and improved.