eclipsesource / eclipsesource/tabris-js

Support fetch abort API

Open
#1,842 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.