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

Method is_turn_active

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

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

(&self)

Source from the content-addressed store, hash-verified

632
633 /// Returns `true` if the session has an active turn.
634 pub fn is_turn_active(&self) -> bool {
635 self.phase.is_active()
636 }
637
638 /// Returns the session duration as a human-readable string.
639 pub fn duration_display(&self) -> String {

Callers 5

pending_turn_numberFunction · 0.80
bind_turn_intentMethod · 0.80
active_sessionsMethod · 0.80
handle_session_endMethod · 0.80
handle_turn_endMethod · 0.80

Calls 1

is_activeMethod · 0.45

Tested by

no test coverage detected