Takes in a regular Promise and returns a CancellablePromise. If canceled, the CancellablePromise will immediately reject with a Cancellation, but the asynchronous operation will not truly be aborted.
Promise
CancellablePromise
Cancellation
Analogous to make-cancellable-promise.
Generated using TypeDoc
Takes in a regular
Promise
and returns aCancellablePromise
. If canceled, theCancellablePromise
will immediately reject with aCancellation
, but the asynchronous operation will not truly be aborted.Analogous to make-cancellable-promise.