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

Method new

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

Source from the content-addressed store, hash-verified

51
52impl SessionStatusManager {
53 pub fn new() -> Self {
54 Self {
55 state: Arc::new(RwLock::new(HashMap::new())),
56 bus: None,
57 }
58 }
59
60 /// Create a status manager with bus event publishing.
61 pub fn with_bus(bus: Arc<Bus>) -> Self {

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected