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

Method begin_turn

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

Mark the start of a new turn.

(&mut self)

Source from the content-addressed store, hash-verified

354
355 /// Mark the start of a new turn.
356 pub fn begin_turn(&mut self) {
357 self.current_turn_started_at = Some(Utc::now());
358 }
359
360 /// Mark the end of the current turn and increment the turn count.
361 ///

Callers 7

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
handle_turn_endMethod · 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