-
Notifications
You must be signed in to change notification settings - Fork 201
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 aborting via AbortController #54
Comments
So we'd need a new npm package that exports a standalone polyfill for |
Awesome. Could you post the link to the npm package? |
Chrome 66 beta seems to officially support it. https://blog.chromium.org/2018/03/chrome-66-beta-css-typed-object-model.html |
An implementation of WHATWG AbortController interface. |
As of 2019, https://caniuse.com/#search=abort AbortController is supported by 86% of browser users. But I'm not sure if AbortController is available for use with XMLHttpRequest. But there's an alternative since that req object already has an So perhaps there can be a way expose the request's Edit: |
You could also just add an
|
Any movements on this? With all major green browsers supporting it, |
|
https://developers.google.com/web/updates/2017/09/abortable-fetch
Currently it is only implemented in Firefox 57 and is coming to other browsers soon.
Will most likely need to implement another npm package that just include
AbortController
package. I found one but it also pollyfills fetch. https://github.com/mo/abortcontroller-polyfillThe text was updated successfully, but these errors were encountered: