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

Method set_busy

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

Convenience: set status to busy.

(&self, session_id: &str)

Source from the content-addressed store, hash-verified

116
117 /// Convenience: set status to busy.
118 pub async fn set_busy(&self, session_id: &str) {
119 self.set(session_id, SessionStatusInfo::Busy).await;
120 }
121
122 /// Convenience: set status to retry with details.
123 /// Matches TS retry status with message and next timestamp.

Callers 6

test_set_busyFunction · 0.45
test_set_idle_removesFunction · 0.45
test_listFunction · 0.45
test_with_busFunction · 0.45
resume_sessionMethod · 0.45

Calls 1

setMethod · 0.45

Tested by 4

test_set_busyFunction · 0.36
test_set_idle_removesFunction · 0.36
test_listFunction · 0.36
test_with_busFunction · 0.36