Class: CancellationTokenSource
Defined in: utils/app/async/cancellationToken.ts:105
Cancellation token source for creating and managing tokens.
Constructorsβ
Constructorβ
new CancellationTokenSource(): CancellationTokenSource;
Returnsβ
CancellationTokenSource
Propertiesβ
tokenβ
readonly token: CancellationToken;
Defined in: utils/app/async/cancellationToken.ts:106
Methodsβ
cancel()β
cancel(): void;
Defined in: utils/app/async/cancellationToken.ts:111
Cancel the token.
Returnsβ
void
dispose()β
dispose(): void;
Defined in: utils/app/async/cancellationToken.ts:118
Dispose of the token source.
Returnsβ
void