MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_idle

Method is_idle

atomic-agent/src/turn/phase.rs:126–128  ·  view source on GitHub ↗

Returns `true` if the session is idle (no active turn).

(&self)

Source from the content-addressed store, hash-verified

124
125 /// Returns `true` if the session is idle (no active turn).
126 pub fn is_idle(&self) -> bool {
127 matches!(self, Phase::Idle)
128 }
129
130 /// Normalize a string to a Phase, defaulting to `Idle` for unknown values.
131 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected