CancellationTokenSource
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/app/async/cancellationToken / CancellationTokenSource
Class: CancellationTokenSource
Defined in: utils/app/async/cancellationToken.js:94
Cancellation token source for creating and managing tokens
Constructorsβ
Constructorβ
new CancellationTokenSource():
CancellationTokenSource
Defined in: utils/app/async/cancellationToken.js:95
Returnsβ
CancellationTokenSource
Propertiesβ
tokenβ
token:
CancellationToken
Defined in: utils/app/async/cancellationToken.js:97
Methodsβ
cancel()β
cancel():
void
Defined in: utils/app/async/cancellationToken.js:103
Cancel the token
Returnsβ
void
dispose()β
dispose():
void
Defined in: utils/app/async/cancellationToken.js:110
Dispose of the token source
Returnsβ
void