CancellationTokenSource$Typings extension

on

Properties

token CancellationToken

Available on CancellationTokenSource, provided by the CancellationTokenSource$Typings extension

The cancellation token of this source.
getter/setter pair

Methods

cancel() → void

Available on CancellationTokenSource, provided by the CancellationTokenSource$Typings extension

Signal cancellation on the token.
dispose() → void

Available on CancellationTokenSource, provided by the CancellationTokenSource$Typings extension

Dispose object and free resources.