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§
- Resume
Info - Session resumption information from the server.
- Turn
- Represents a single model response turn.
Enums§
- Session
Command - Commands sent from application code to the session transport.
- Session
Event - Events emitted by the session, consumed by application code.
Functions§
- recv_
event - Receive the next event from a broadcast receiver, handling lag gracefully.