Interface: ExtensionHandle<API>
Defined in: packages/sdk/src/types.ts:490
A handle to another extension, obtained via ExtensionContext.getExtension. Lets one extension consume another's published API while tolerating its absence.
Type Parameters
API
API = unknown
Properties
id
ts
readonly id: string;Defined in: packages/sdk/src/types.ts:492
The resolved extension's id.
active
ts
readonly active: boolean;Defined in: packages/sdk/src/types.ts:494
True once that extension has activated.
api
ts
readonly api: API | undefined;Defined in: packages/sdk/src/types.ts:497
Its published API (what its activate returned), or undefined if it hasn't activated or published nothing.