Skip to content

1.0.0

Compare
Choose a tag to compare
@JMPerez JMPerez released this 28 Mar 21:41
· 78 commits to master since this release

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.