Expand description
Per-session concurrency gate.
Prevents concurrent runs from interleaving writes to the same session.
Each session is protected by its own tokio::sync::Mutex; a run
acquires the lock at entry and holds it until the run completes or
is cancelled.
Structsยง
- Session
Busy - Error returned when a session is already being processed by another run.
- Session
Gate - Registry of per-session mutexes.
- Session
Guard - RAII guard that holds a per-session lock for the duration of a run.