Holders of an AbortSignal object may query if the associated operation has been aborted and register an onabort handler.
https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
Whether the action represented by this signal has been cancelled.
A function to be invoked when the action represented by this signal has been cancelled.
Holders of an AbortSignal object may query if the associated operation has been aborted and register an onabort handler.
https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal