CancellationTokenSource$Typings extension

on

Properties

token CancellationToken
The cancellation token of this source.
getter/setter pair

Methods

cancel() → void
Signal cancellation on the token.
dispose() → void
Dispose object and free resources.