Skip to main content

Interface: CancellationTokenSource

Properties

token

token: CancellationToken

The cancellation token of this source.

Source

packages/extension-api/src/extension-api.d.ts:761

Methods

cancel()

cancel(): void

Signal cancellation on the token.

Returns

void

Source

packages/extension-api/src/extension-api.d.ts:766


dispose()

dispose(): void

Dispose object and free resources.

Returns

void

Source

packages/extension-api/src/extension-api.d.ts:771