Skip to content
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

Add support for AbortController/AbortSignal #4757

Merged
merged 3 commits into from
Apr 15, 2020
Merged

Conversation

kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Apr 15, 2020

Fixes #3345

This add support for AbortController. It is needed by Streams (not sure how we got away without it currently) and it is needed for abortable Fetch.

There would still be work to integrate it into Fetch and have the correct behaviour when a signal is aborted, but the mechanics should be compliant with the DOM spec now.

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@ry ry merged commit cb64cf3 into denoland:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AbortController
2 participants