Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ test_with_bus
Function
test_with_bus
crates/opencode-session/src/status.rs:217–222 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
215
216
#[tokio::test]
217
async fn test_with_bus() {
218
let bus = Arc::new(Bus::new());
219
let mgr = SessionStatusManager::with_bus(bus);
220
mgr.set_busy(
"ses_123"
).await;
221
assert!(mgr.is_busy(
"ses_123"
).await);
222
}
223
}
Callers
nothing calls this directly
Calls
2
new
Function · 0.85
set_busy
Method · 0.45
Tested by
no test coverage detected