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

Method is_turn_active

atomic-agent/src/turn/session.rs:383–385  ·  view source on GitHub ↗

Returns `true` if the session has an active turn.

(&self)

Source from the content-addressed store, hash-verified

381
382 /// Returns `true` if the session has an active turn.
383 pub fn is_turn_active(&self) -> bool {
384 self.phase.is_active()
385 }
386
387 /// Returns the session duration as a human-readable string.
388 pub fn duration_display(&self) -> String {

Callers 3

pending_turn_numberFunction · 0.80
handle_session_endMethod · 0.80
handle_turn_endMethod · 0.80

Calls 1

is_activeMethod · 0.45

Tested by

no test coverage detected