AbortSignal is a javascript interface used to abort ongoing methods. When you create a request, both accept a signal and if you abort that signal you can abort the request. Using these interfaces, you can handle out-of-the-box the abort of an HTTP request created with the fetch API but also with axios if you want.
Sort: