We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling .then() on a CancelablePromise returns a Promise, which can't be canceled anymore.
.then()
CancelablePromise
Promise
Problem is here:
p-cancelable/index.js
Lines 73 to 75 in cdec148
The text was updated successfully, but these errors were encountered:
Alternativly cancelable-promise does it correctly.
cancelable-promise
https://github.com/alkemics/CancelablePromise/blob/98665b2d38da2d3c28fb15ff22bb5e4d910c723f/src/CancelablePromise.ts#L38-L59
Sorry, something went wrong.
The issue with cancelable-promise is that canceling a promise won't reject it
No branches or pull requests
Calling
.then()
on aCancelablePromise
returns aPromise
, which can't be canceled anymore.Problem is here:
p-cancelable/index.js
Lines 73 to 75 in cdec148
The text was updated successfully, but these errors were encountered: