Skip to content

RealtimeDiagnosticAttachment

Defined in: packages/realtime/src/lib/diagnostics.ts:22

Inputs shared by every framework’s realtime diagnostic attachment.

readonly adapter: RealtimeProviderAdapter

Defined in: packages/realtime/src/lib/diagnostics.ts:26

Existing adapter supplying optional provider diagnostics and transport facts.


readonly identity: object

Defined in: packages/realtime/src/lib/diagnostics.ts:43

Immutable identity for this provider lifetime.

readonly provider: string

Application-owned provider label.

readonly providerInstanceId: string

Unique identity of this built session, independent of application session identity.


readonly session: RealtimeSession

Defined in: packages/realtime/src/lib/diagnostics.ts:24

Existing session; attachment never connects it or acquires media.


readonly sink: Pick<DiagnosticChannel, "observed" | "addSource"> & object & Partial<Pick<DiagnosticChannel, "diagnosticsObserved" | "addDiagnosticSource" | "emitDiagnostic">>

Defined in: packages/realtime/src/lib/diagnostics.ts:28

Owning client observation seam; no DevTools or framework dependency is needed.

emit(kind, metadata?, readContent?, requestId?): void

Legacy diagnostic delivery accepts projected or imported evidence.

string

Readonly<Record<string, string | number | boolean | null | undefined>>

() => unknown

string

void