Skip to content

bodhi-realtime-agent / SessionState

Type Alias: SessionState

SessionState = "CREATED" | "CONNECTING" | "ACTIVE" | "RECONNECTING" | "TRANSFERRING" | "CLOSED"

Defined in: types/session.ts:17

Session lifecycle states. Transitions follow a strict state machine:

CREATED → CONNECTING → ACTIVE → RECONNECTING → ACTIVE ↓ ↓ TRANSFERRING → ACTIVE CLOSED ↓ CLOSED

Any state can transition to CLOSED on fatal error.

Built with VitePress