Skip to main content

Class: AbortScope

Creates a derived abort signal, i.e. AbortSignal instance which is automatically aborted when parent signal is aborted, but can be aborted separately the same way as normal AbortController.

Constructors

new AbortScope()

new AbortScope(parentSignal): AbortScope

Parameters

ParameterType

parentSignal

undefined | AbortSignal

Returns

AbortScope

Defined in

coreUtils/async.ts:34

Accessors

signal

get signal(): AbortSignal

Returns

AbortSignal

Defined in

coreUtils/async.ts:43

Methods

[dispose]()

[dispose](): void

Returns

void

Defined in

coreUtils/async.ts:47


abort()

abort(): void

Returns

void

Defined in

coreUtils/async.ts:54