WorkspaceProtocolHandler.on('change') method
WorkspaceProtocolHandler › on(‘change’)
Unofficial
Triggered when the set of trusted actions changes.Signature:
on(name: "change", callback: () => unknown, ctx?: unknown): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "change" | Should be 'change'. |
| callback | () => unknown | The callback function. |
| ctx? | unknown | The context passed as this to the callback function. |
Returns: EventRef — The event reference.