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

Method set_retrying

crates/opencode-session/src/session.rs:239–248  ·  view source on GitHub ↗
(&mut self, session_id: &str, attempt: u32, message: String, next: i64)

Source from the content-addressed store, hash-verified

237 }
238
239 pub fn set_retrying(&mut self, session_id: &str, attempt: u32, message: String, next: i64) {
240 self.set(
241 session_id,
242 RunStatus::Retrying {
243 attempt,
244 message,
245 next,
246 },
247 );
248 }
249
250 pub fn set_idle(&mut self, session_id: &str) {
251 self.set(session_id, RunStatus::Idle);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected