Saltar al contenido principal
Versión: 0.23.0

Type Alias: ExtensionSwitch

type ExtensionSwitch = (name, enabled) => Promise<boolean>;

Defined in: core/liveExtensions.ts:95

Turns name on or off in the running session; false when it can't be done here (it wasn't running when the session opened, the session hasn't started, or its files changed since it was installed), and the session must be opened again.

Parameters​

ParameterType
namestring
enabledboolean

Returns​

Promise<boolean>