Skip to main content

Module session

Module session 

Source
Expand description

Session verbs and turn submission.

Structs§

PendingTurn
A send_user_turn submission whose outcome its session never observed.
ReconnectResolution
One carried submission after Session::resolve_reconnect resent it.
SendUserTurnOptions
What one turn/start sends.
Session
One server session on a client: it submits turns, answers approvals and questions, and keeps a fold of the events it applied. Clones share it.
SessionFoldView
One Session’s fold, read one value at a time.
SubmitFeedbackOptions
What Session::submit_feedback sends; the session id is this session’s.

Enums§

Reconnected
What the server’s answer to one resent submission settled.
SessionOpening
The server’s result that opened a session, as typed by this SDK.