Interface: CancellationToken
A cancellation token is passed to an asynchronous or long running operation to request cancellation.
Properties
isCancellationRequested
isCancellationRequested:
boolean
Is true when the token has been cancelled, false otherwise.
Source
packages/extension-api/src/extension-api.d.ts:742
onCancellationRequested
onCancellationRequested:
Event<any>
An Event which fires upon cancellation.