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

Method active_sessions

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

Every session currently in an active phase (CB-12A capture targets).

(&self)

Source from the content-addressed store, hash-verified

991
992 /// Every session currently in an active phase (CB-12A capture targets).
993 pub fn active_sessions(&self) -> AgentResult<Vec<AgentSession>> {
994 Ok(self
995 .list_sessions()?
996 .into_iter()
997 .filter(|session| session.is_turn_active())
998 .collect())
999 }
1000
1001 /// Load a session by ID.
1002 ///

Callers 2

record_pre_commitFunction · 0.80
notify_active_sessionsFunction · 0.80

Calls 4

is_turn_activeMethod · 0.80
collectMethod · 0.45
into_iterMethod · 0.45
list_sessionsMethod · 0.45

Tested by

no test coverage detected