AdapterGeneratedOpening
Defined in: packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:265
Natural-opening capability for providers that generate their own wording.
Properties
Section titled “Properties”readiness?
Section titled “readiness?”
readonlyoptionalreadiness?:object
Defined in: packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:267
Optional output readiness gate. Omission permits an immediate opening claim.
getSnapshot()
Section titled “getSnapshot()”getSnapshot():
boolean
Whether playback has been accepted for the current connection, not proof of audibility.
Returns
Section titled “Returns”boolean
subscribe()
Section titled “subscribe()”subscribe(
handler):Unsubscribe
Observes readiness changes. The returned disposer releases the subscription.
Parameters
Section titled “Parameters”handler
Section titled “handler”() => void
Returns
Section titled “Returns”Unsubscribe
Methods
Section titled “Methods”request()
Section titled “request()”request(
instructions):Promise<void>
Defined in: packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:278
Requests a natural opening. Resolution proves only request acceptance, not speech delivery. Publish actual words only through observed transcripts. Rejection may follow a send, so callers must not automatically retry.
Parameters
Section titled “Parameters”instructions
Section titled “instructions”string
Returns
Section titled “Returns”Promise<void>