Module session_signals

Module session_signals 

Source
Expand description

Auto-tracked session-level state signals.

SessionSignals is called by the telemetry lane on every [SessionEvent] and transparently updates keys under the session: prefix in the shared 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§

SessionSignals
Tracks session-level signals automatically from events.

Enums§

SessionType
Session type determines the server-side duration limit.