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

Method begin_turn

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

Mark the start of a new turn.

(&mut self)

Source from the content-addressed store, hash-verified

320
321 /// Mark the start of a new turn.
322 pub fn begin_turn(&mut self) {
323 self.current_turn_started_at = Some(Utc::now());
324 }
325
326 /// Mark the end of the current turn and increment the turn count.
327 ///

Callers 6

test_begin_turnFunction · 0.45
test_end_turnFunction · 0.45
test_serde_roundtripFunction · 0.45
test_full_lifecycleFunction · 0.45
handle_turn_startMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_begin_turnFunction · 0.36
test_end_turnFunction · 0.36
test_serde_roundtripFunction · 0.36
test_full_lifecycleFunction · 0.36