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

Method begin_turn

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

Mark the start of a new turn.

(&mut self)

Source from the content-addressed store, hash-verified

348
349 /// Mark the start of a new turn.
350 pub fn begin_turn(&mut self) {
351 self.current_turn_started_at = Some(Utc::now());
352 }
353
354 /// Mark the end of the current turn and increment the turn count.
355 ///

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