CancellationTokenSource
FitFileViewer - API Documentation v29.9.0
FitFileViewer - API Documentation / utils/app/async/cancellationToken / CancellationTokenSource
Class: CancellationTokenSource
Defined in: utils/app/async/cancellationToken.js:106
Cancellation token source for creating and managing tokens
Constructorsβ
Constructorβ
new CancellationTokenSource():
CancellationTokenSource
Defined in: utils/app/async/cancellationToken.js:107
Returnsβ
CancellationTokenSource
Propertiesβ
tokenβ
token:
CancellationToken
Defined in: utils/app/async/cancellationToken.js:109
Methodsβ
cancel()β
cancel():
void
Defined in: utils/app/async/cancellationToken.js:115
Cancel the token
Returnsβ
void
dispose()β
dispose():
void
Defined in: utils/app/async/cancellationToken.js:122
Dispose of the token source
Returnsβ
void