eclipsesource / eclipsesource/tabris-js
Support fetch abort API
Open
feature
js
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
Currently, it is not possible to abort a HTTP request using the current `fetch()` API.
### Expected behavior
Users should not be forced to use the inconvenient `XMLHttpRequest` API if they need to abort HTTP requests in their apps. Introduce the experimental APIs `AbortError`, `AbortController` and `AbortSignal` from the living standard (already supported by most major browsers).
See https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#Aborting_a_fetch
### Environment
Tabris.js version: 3.x
Contributor guide
Assessment
This issue has not been assessed yet.