Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd 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
AbortControllerpackage. I found one but it also pollyfills fetch. https://github.com/mo/abortcontroller-polyfill