-
Notifications
You must be signed in to change notification settings - Fork 22.4k
New issue
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
promise: see also AbortController #33346
Conversation
Preview URLs (comment last updated: 2024-06-09 19:29:21) |
I think |
The relationship is 'I have a async operation/Promise I want to cancel/be cancellable, where do I look next?'. see also: #33347 |
files/en-us/web/javascript/reference/global_objects/promise/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with this, but do you think it would be helpful to add the same text in #33347 here, in the promise reference too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Description
Add a link to
AbortController
in See Also.Motivation
I couldn't remember how to cancel a promise in JavaScript, and I looked here but there wasn't any mention of "cancel".