Skip to main content

Interface: CancellationScope

A cancellation scope (11 §2.24).

Properties​

cancelRequested​

readonly cancelRequested: Promise<never>

Rejects with CancelledFailure when the scope is cancelled.


consideredCancelled​

readonly consideredCancelled: boolean

Methods​

cancel()​

cancel(): void

Returns​

void