VoiceObservationSource
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:99
Additive observation capability; neither VoiceSession nor its event unions change.
Methods
Section titled “Methods”getSnapshot()
Section titled “getSnapshot()”getSnapshot():
VoiceObservationSnapshot
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:101
Reads a referentially stable snapshot until observations change.
Returns
Section titled “Returns”subscribe()
Section titled “subscribe()”subscribe(
handler):Unsubscribe
Defined in: packages/client/src/lib/voice-session/voice-observations.ts:103
Subscribes to changes. Subscribe before reading to avoid missed updates.
Parameters
Section titled “Parameters”handler
Section titled “handler”() => void