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

Method is_turn_active

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

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

(&self)

Source from the content-addressed store, hash-verified

347
348 /// Returns `true` if the session has an active turn.
349 pub fn is_turn_active(&self) -> bool {
350 self.phase.is_active()
351 }
352
353 /// Returns the session duration as a human-readable string.
354 pub fn duration_display(&self) -> String {

Callers 1

handle_session_endMethod · 0.80

Calls 1

is_activeMethod · 0.45

Tested by

no test coverage detected