files/en-us/web/api/abortcontroller/index.md
{{APIRef("DOM")}}{{AvailableInWorkers}}
The AbortController interface represents a controller object that allows you to abort one or more Web requests as and when desired.
You can create a new AbortController object using the {{domxref("AbortController.AbortController()", "AbortController()")}} constructor. Communicating with an asynchronous operation is done using an {{domxref("AbortSignal")}} object.
AbortController object instance.See the AbortSignal page for usage examples.
You can find a full working example on GitHub; you can also see it running live.
{{Specifications}}
{{Compat}}