Skip to content

Function: setRendererHook()

ts
function setRendererHook(next: RendererHook | null): void;

Defined in: src/renderer/observability.ts:39

Install (or clear) the process-wide renderer event hook. Pass null to disable. Only one hook is active at a time; replacing is idempotent.

Parameters

ParameterType
nextRendererHook | null

Returns

void

Matterway Assistant SDK Documentation