AbortSignal

external interface AbortSignal : EventTarget

Properties

Link copied to clipboard
abstract var aborted: Boolean
Link copied to clipboard
open var onabort: (AbortSignal, ev: Event) -> JsAny?

Functions

Link copied to clipboard
abstract fun <K : JsAny> addEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny)
abstract override fun addEventListener(type: String, listener: EventListener)
abstract override fun addEventListener(type: String, listener: EventListenerObject)
abstract fun <K : JsAny> addEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny, options: AddEventListenerOptions? = definedExternally)
abstract fun <K : JsAny> addEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny, options: Boolean? = definedExternally)
abstract override fun addEventListener(type: String, listener: EventListener, options: AddEventListenerOptions?)
abstract override fun addEventListener(type: String, listener: EventListener, options: Boolean?)
abstract override fun addEventListener(type: String, listener: EventListenerObject, options: AddEventListenerOptions?)
abstract override fun addEventListener(type: String, listener: EventListenerObject, options: Boolean?)
Link copied to clipboard
abstract fun dispatchEvent(event: Event): Boolean
Link copied to clipboard
abstract fun <K : JsAny> removeEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny)
abstract override fun removeEventListener(type: String, callback: EventListener)
abstract override fun removeEventListener(type: String, callback: EventListenerObject)
abstract fun <K : JsAny> removeEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny, options: EventListenerOptions? = definedExternally)
abstract fun <K : JsAny> removeEventListener(type: K, listener: (AbortSignal, ev: JsAny) -> JsAny, options: Boolean? = definedExternally)
abstract override fun removeEventListener(type: String, callback: EventListener, options: EventListenerOptions?)
abstract override fun removeEventListener(type: String, callback: EventListener, options: Boolean?)
abstract override fun removeEventListener(type: String, callback: EventListenerObject, options: EventListenerOptions?)
abstract override fun removeEventListener(type: String, callback: EventListenerObject, options: Boolean?)