Module persistence

Module persistence 

Source
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).
MemoryPersistence
In-memory persistence (good for tests).
SessionSnapshot
Serializable snapshot of the control plane state.

Traits§

SessionPersistence
Trait for persisting session state across process restarts.