Class: CancellationTokenSource
Constructors
new CancellationTokenSource()
new CancellationTokenSource():
CancellationTokenSource
Returns
Properties
token
token:
CancellationToken
The cancellation token of this source.
Defined in
packages/extension-api/src/extension-api.d.ts:1322
Methods
cancel()
cancel():
void
Signal cancellation on the token.
Returns
void
Defined in
packages/extension-api/src/extension-api.d.ts:1327
dispose()
dispose():
void
Dispose object and free resources.
Returns
void