CancellationToken$Typings extension

on

Properties

isCancellationRequested bool

Available on CancellationToken, provided by the CancellationToken$Typings extension

Is true when the token has been cancelled, false otherwise.
getter/setter pair
onCancellationRequested Event

Available on CancellationToken, provided by the CancellationToken$Typings extension

An {@link Event} which fires upon cancellation.
getter/setter pair