MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / set_idle

Method set_idle

crates/opencode-session/src/status.rs:113–115  ·  view source on GitHub ↗

Convenience: set status to idle.

(&self, session_id: &str)

Source from the content-addressed store, hash-verified

111
112 /// Convenience: set status to idle.
113 pub async fn set_idle(&self, session_id: &str) {
114 self.set(session_id, SessionStatusInfo::Idle).await;
115 }
116
117 /// Convenience: set status to busy.
118 pub async fn set_busy(&self, session_id: &str) {

Callers 3

test_set_idle_removesFunction · 0.45
finish_runMethod · 0.45
cancelMethod · 0.45

Calls 1

setMethod · 0.45

Tested by 1

test_set_idle_removesFunction · 0.36