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

Function test_set_busy

crates/opencode-session/src/status.rs:168–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167 #[tokio::test]
168 async fn test_set_busy() {
169 let mgr = SessionStatusManager::new();
170 mgr.set_busy("ses_123").await;
171 assert!(mgr.is_busy("ses_123").await);
172 }
173
174 #[tokio::test]
175 async fn test_set_idle_removes() {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
set_busyMethod · 0.45

Tested by

no test coverage detected