Note: This feature is available in Web Workers.
The AbortController() constructor creates a new AbortController object instance.
new AbortController()None.
See the AbortSignal page for usage examples.
You can find a full working example on GitHub; you can also see it running live.