Creates and returns an AbortController
instance whose AbortSignal
is marked as transferable and can be used with structuredClone()
or postMessage()
.
function
util.transferableAbortController
@returns
A transferable AbortController
Referenced types
class AbortController
A controller object that allows you to abort one or more DOM requests as and when desired.