CancellationTokenSource
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/app/async/cancellationToken / CancellationTokenSource
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β
readonlytoken: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