Class: AbortScope
Defined in: coreUtils/async.ts:29
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
Constructor
new AbortScope(
parentSignal
):AbortScope
Defined in: coreUtils/async.ts:34
Parameters
Parameter | Type |
---|---|
|
|
Returns
AbortScope
Accessors
signal
Get Signature
get signal():
AbortSignal
Defined in: coreUtils/async.ts:43
Returns
AbortSignal
Methods
[dispose]()
[dispose]():
void
Defined in: coreUtils/async.ts:47
Returns
void
abort()
abort():
void
Defined in: coreUtils/async.ts:54
Returns
void