Expand description
Auto-tracked session-level state signals.
SessionSignals is called on every SessionEvent and transparently
updates keys under the session: prefix in the shared State. The
router touches the activity timestamp for audio and text inline; the
telemetry lane handles every event that writes state.
Hot-path timestamps use AtomicU64 (nanos since start) instead of
Mutex<Instant>, eliminating per-event mutex contention. Derived
timing signals (silence_ms, elapsed_ms, remaining_budget_ms)
are flushed periodically via flush_timing() rather than on every event.
Structs§
- Session
Signals - Tracks session-level signals automatically from events.
Enums§
- Session
Type - Session type determines the server-side duration limit.