The abort() method of the AbortController interface aborts an asynchronous operation before it has completed.
abort()
MDN Reference