Abortable fetch
Widely available since 2021-09-25
If you construct a fetch request with an AbortSignal
, you can cancel the request.
Learning resources on MDN
Browser support
- Chrome 66 Released on 2018-04-17
- Chrome Android 66 Released on 2018-04-17
- Edge 16 Released on 2017-10-17
- Firefox 57 Released on 2017-11-14
- Firefox for Android 57 Released on 2017-11-28
- Safari 12.1 Released on 2019-03-25
- Safari on iOS 12.2 Released on 2019-03-25
Specifications
- Fetch (#ref-for-dom-request-signal%E2%91%A1), from Fetch Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature