sindresorhus/
Create a promise that can be canceled
USD raised
Recent activities
`onCancel` handlers should be called immediately if the promise was cancelled already
Utility static function to convert executor into a PCancelable
Improve the message error when attaching `onCancel` after the promise settled
About `AbortController`
Convert abortable Promise-returning functions to cancelable promises
Node Engine Lock
isCanceled is not set to true when shouldReject is set to false and promise is rejected in onCancel
Willing to add p-signal to the related section?
【Discussion】Object.setPrototypeOf(PCancelable.prototype, Promise.prototype)
How to use this with p-lazy?
© 2019 BoostIO, Inc.