RealtimeDiagnosticAttachment
Defined in: packages/realtime/src/lib/diagnostics.ts:22
Inputs shared by every framework’s realtime diagnostic attachment.
Properties
Section titled “Properties”adapter
Section titled “adapter”
readonlyadapter:RealtimeProviderAdapter
Defined in: packages/realtime/src/lib/diagnostics.ts:26
Existing adapter supplying optional provider diagnostics and transport facts.
identity
Section titled “identity”
readonlyidentity:object
Defined in: packages/realtime/src/lib/diagnostics.ts:43
Immutable identity for this provider lifetime.
provider
Section titled “provider”
readonlyprovider:string
Application-owned provider label.
providerInstanceId
Section titled “providerInstanceId”
readonlyproviderInstanceId:string
Unique identity of this built session, independent of application session identity.
session
Section titled “session”
readonlysession:RealtimeSession
Defined in: packages/realtime/src/lib/diagnostics.ts:24
Existing session; attachment never connects it or acquires media.
readonlysink: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.
Type Declaration
Section titled “Type Declaration”emit()
Section titled “emit()”emit(
kind,metadata?,readContent?,requestId?):void
Legacy diagnostic delivery accepts projected or imported evidence.
Parameters
Section titled “Parameters”string
metadata?
Section titled “metadata?”Readonly<Record<string, string | number | boolean | null | undefined>>
readContent?
Section titled “readContent?”() => unknown
requestId?
Section titled “requestId?”string
Returns
Section titled “Returns”void