-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support using AbortController with FileAPI #159
Comments
Not speaking for the editors here, but for my part, I consider |
@domenic Ah thanks, so in that case the ask should be to support signals in Is it currently possible to abort an ongoing Since it returns a promise and does not take a signal parameter I don't see/know how to do that. |
Yeah, that would make sense to me. Indeed they cannot be aborted currently; you'd need to use |
It would be a bit unfortunate to lose the symmetry with |
I mean, we could also add it to |
Adding an AbortController to I agree that adding it to |
Hey,
It would be useful to use the web platform standard cancellation method to abort readers.
Other web platform code (like fetch) supports cancellation through signals.
Code before:
Possible suggested change, assuming signal support:
The text was updated successfully, but these errors were encountered: