Expand description
Session persistence — survive process restarts.
The Gemini Live API supports session resumption via opaque handles. This module persists the SDK’s client-side state (State, phase position, transcript summary) so it can be restored on reconnection.
Structs§
- FsPersistence
- File-system persistence (good for development and single-server deployments).
- Memory
Persistence - In-memory persistence (good for tests).
- Session
Snapshot - Serializable snapshot of the control plane state.
Traits§
- Session
Persistence - Trait for persisting session state across process restarts.