AbortController Web API Reference

The AbortController interface lets JavaScript signal that an asynchronous operation should stop.

AbortController Web API Reference

The AbortController interface lets JavaScript signal that an asynchronous operation should stop.

Updated 2026-08-07

Basic usage

Create a controller, pass its signal to an API such as fetch, and call abort() when the work is no longer needed.

JavaScript const controller = new AbortController(); fetch(url, { signal: controller.signal }); controller.abort();

Description

The AbortController interface lets JavaScript signal that an asynchronous operation should stop.

References

  1. DOM Standard: AbortController
  2. MDN: AbortController

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies