MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / is_busy

Method is_busy

crates/opencode-session/src/session.rs:219–224  ·  view source on GitHub ↗
(&self, session_id: &str)

Source from the content-addressed store, hash-verified

217 }
218
219 pub fn is_busy(&self, session_id: &str) -> bool {
220 matches!(
221 self.get(session_id),
222 RunStatus::Busy | RunStatus::Retrying { .. }
223 )
224 }
225
226 pub fn assert_not_busy(&self, session_id: &str) -> Result<(), BusyError> {
227 if self.is_busy(session_id) {

Callers 1

assert_not_busyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected