ReadonlylogA string prefix for all log statements made by this target.
Returns a native signal on supported platforms.
A JavaScript value providing the abort reason, once this signal has aborted.
Sets to the aborted state with the given reason, and emits an 'abort' event. If this signal is already aborted, this will do nothing.
True if this signal is aborted.
Dispatches an event.
The key of the event within EventMap
If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.
Returns true if the event host has any listeners.
Returns true if the event host has any listeners for the given type.
Adds an event handler for the given typed event.
The key representing the event type to listen for.
A callback to invoke when the event with the given type is dispatched.
Optionaloptions: SignalOptionsOptions for changing listening behavior.
Returns a method, when invoked, removes the handler.
Invokes a callback on 'abort', or immediately if already aborted.
Throws this signal's abort reason if the signal has been aborted; otherwise it does nothing.
An Abort instance emits an 'abort' event when aborted.
A native
AbortControlleris encapsulated if the platform supports it, allowing for fetch cancellation.