Skip to main content

Module session

Module session 

Source
Expand description

Session protocol types for the AppServerSession seam (ADR-005).

SQ (Submission Queue): bounded mpsc::Sender<SessionOp> (cap=512) for commands TO the session actor. EQ (Event Queue): unbounded mpsc::UnboundedSender<SessionEvent> for events FROM the session actor.

Structs§

RuntimePolicy
Product-neutral policy for session runtime behavior.
SessionConfig
Configuration for creating a session actor.
SessionHandle
Handle returned to the UI layer for interacting with a session.

Enums§

ApprovalMode
Approval behavior for a session runtime.
SessionEvent
Events emitted by the session actor on the unbounded EQ.
SessionOp
Commands sent to the session actor via the bounded SQ.
TurnCompletionStatus
Status of a completed turn.