Skip to content
Threadplane
Pricing
164Talk to Us
@threadplane/ag-uiTypeAliasv0.3.7

SessionTelemetrySink

Receives a session's lifecycle moments. It may be asynchronous and may throw.

View sourceView Markdown
import type { SessionTelemetrySink } from '@threadplane/ag-ui';

Declaration

export type SessionTelemetrySink = (payload: {
    readonly event: SessionTelemetryEvent;
    readonly properties: SessionTelemetryProperties;
}) => void | Promise<void>;