Interface: ExtensionHandle<API>
Defined in: packages/sdk/src/types.ts:1141
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:1143
The resolved extension's id.
active
ts
readonly active: boolean;Defined in: packages/sdk/src/types.ts:1145
True once that extension has activated.
api
ts
readonly api: API | undefined;Defined in: packages/sdk/src/types.ts:1148
Its published API (what its activate returned), or undefined if it hasn't activated or published nothing.