Abortable
Abortable
Host-side abort-enabled types implement this interface, which gains the assignAborted method.
Inheritors
Properties
Functions
Link copied to clipboard
abstract fun addEventListener(type: String, options: AddEventListenerOptions, listener: EventListener)
Link copied to clipboard
Mark this abort-able object as aborted.
Link copied to clipboard
Dispatches the event to the list of handlers for Event.type.
Link copied to clipboard
abstract fun removeEventListener(type: String, listener: EventListener, options: RemoveEventListenerOptions)
Removes the listener
from the list of handlers for event type
.
Link copied to clipboard
Throws the AbortSignal's reason for aborting, if aborted; from MDN: