Skip to main content

Module session

Module session 

Source
Expand description

Sessions and the event store.

Mirrors Flue’s session machinery (SessionStore, event-stream-store, dispatch/invoke). MVP holds sessions in memory while exposing a typed persistence envelope for durable resume.

Structs§

Session
One session: its id, configuration, message log, and metadata.
SessionState
On-disk envelope for a resumable session. Carries everything the coordinator needs to reconstruct a run after a process restart.
SessionStore
An in-memory session store.

Constants§

SCHEMA_VERSION
Current on-disk session envelope schema version.

Type Aliases§

SessionId
A unique session id.
SharedSessionStore
Shared pointer to a session store.