A cancellation source creates and controls a {@link CancellationToken cancellation token}.

Constructor

new()

Variables

token:CancellationToken

The cancellation token of this source.

Methods

cancel():Void

Signal cancellation on the token.

dispose():Void

Dispose object and free resources.