Type Alias: TelemetrySink()
ts
type TelemetrySink = (event) => void;Defined in: packages/core/src/observability/TelemetryEvent.ts:206
A function that accepts telemetry events for out-of-band delivery.
The implementation is a fire-and-forget NDJSON writer to the IPC socket. If no TUI client is connected, the events are silently discarded.
This type is passed to AttachOptions.telemetry and to individual subsystems (Presenter, RedactEngine, SandboxEngine) for event emission.
Parameters
| Parameter | Type |
|---|---|
event | TelemetryEvent |
Returns
void