Fetch API: AbortSignal and AbortController

A fetch() can be made cancellable by passing an AbortSignal "signal" in the fetch options. Calling abort() on the associated AbortController will then cancel the fetch.

Demo

Documentation

Specification

Editor's draft

Status in Chromium

Blink>Network>FetchAPI


Enabled by default (tracking bug) in:

  • Chrome for desktop release 66
  • Chrome for Android release 66
  • Android WebView release 66
  • Opera release 53
  • Opera for Android release 53

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2018-03-01