You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. AbortController is part of the DOM Living standard. It allows to abort an in-progress fetch operation in a standard way via the signal option. Specifically it allows to apply a timeout to a fetch operation in a standard-compliant portable way.
Describe the solution you'd like
Export AbortController, AbortError and optionally a small helper timeoutSignal for specifying a timeout signal to support the following code snippets:
Is your feature request related to a problem? Please describe.
AbortController
is part of the DOM Living standard. It allows to abort an in-progressfetch
operation in a standard way via thesignal
option. Specifically it allows to apply a timeout to afetch
operation in a standard-compliant portable way.Describe the solution you'd like
Export
AbortController
,AbortError
and optionally a small helpertimeoutSignal
for specifying a timeout signal to support the following code snippets:or shorter:
The existing non-standard
timeout
option andTimeoutError
should be deprecated.Additional context
Abortable fetch
fetch timeout discussion
The text was updated successfully, but these errors were encountered: