@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AbortSignal")
public class AbortSignal
extends EventTarget
| Modifier and Type | Field and Description |
|---|---|
EventHandler |
onabort
The onabort read-only property of the FetchSignal interface is an event handler Invoked when an abort event fires, i.e.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbortSignal() |
| Modifier and Type | Method and Description |
|---|---|
static AbortSignal |
abort() |
boolean |
aborted()
The aborted read-only property returns a Boolean that indicates whether the DOM request(s) the signal is communicating with is/are aborted (true) or not (false).
|
void |
addAbortListener(EventListener callback) |
void |
addAbortListener(EventListener callback,
AddEventListenerOptions options) |
void |
addAbortListener(EventListener callback,
boolean useCapture) |
void |
removeAbortListener(EventListener callback) |
void |
removeAbortListener(EventListener callback,
boolean useCapture) |
void |
removeAbortListener(EventListener callback,
EventListenerOptions options) |
addEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@Nullable public EventHandler onabort
@JsProperty(name="aborted") public boolean aborted()
@Nonnull public static AbortSignal abort()
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addAbortListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAbortListener(@Nonnull
EventListener callback)