Module events

Module events 

Source
Expand description

Session events, commands, and turn tracking.

SessionEvent — events emitted by the server for application consumption. SessionCommand — commands sent from the application to the transport. Turn — tracking for a single model response turn. recv_event — broadcast lag-tolerant event receiver.

Structs§

ResumeInfo
Session resumption information from the server.
Turn
Represents a single model response turn.

Enums§

SessionCommand
Commands sent from application code to the session transport.
SessionEvent
Events emitted by the session, consumed by application code.

Functions§

recv_event
Receive the next event from a broadcast receiver, handling lag gracefully.