Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ subscribe_channel
Method
subscribe_channel
crates/opencode-core/src/bus.rs:123–125 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
121
}
122
123
pub fn subscribe_channel(&self) -> broadcast::Receiver<BusEvent> {
124
self.tx.subscribe()
125
}
126
}
127
128
impl Default for Bus {
Callers
4
refresh_tools_if_needed_publishes_bus_event_and_reloads_tools
Function · 0.80
session_share_publishes_updated_event
Function · 0.80
command_executed_event_is_published
Function · 0.80
todo_updated_event_is_published
Function · 0.80
Calls
1
subscribe
Method · 0.45
Tested by
no test coverage detected