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.