Interface: Extension
What an extension's entry module exports as its default.
Properties
activate
readonlyactivate: (host) =>void|Promise<void>
Runs when the extension starts, with the host API.
Parameters
host
Returns
void | Promise<void>
deactivate?
readonlyoptionaldeactivate?: () =>void|Promise<void>
Runs before the extension stops, to release what it holds.
Returns
void | Promise<void>