throwIfAborted

open override fun throwIfAborted()

Throw If Aborted

Throws the AbortSignal's reason for aborting, if aborted; from MDN:

Throws the signal's abort reason if the signal has been aborted; otherwise it does nothing.

AbortSignal.throwIfAborted on MDN