MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / broadcast

Method broadcast

crates/opencode-server/src/server.rs:173–175  ·  view source on GitHub ↗
(&self, event: &str)

Source from the content-addressed store, hash-verified

171 }
172
173 pub fn broadcast(&self, event: &str) {
174 let _ = self.event_bus.send(event.to_string());
175 }
176
177 async fn load_sessions_from_storage(&self) -> anyhow::Result<()> {
178 let (Some(session_repo), Some(message_repo)) = (&self.session_repo, &self.message_repo)

Callers 7

set_session_run_statusFunction · 0.80
session_promptFunction · 0.80
patch_configFunction · 0.80
reply_permissionFunction · 0.80
reply_questionFunction · 0.80
reject_questionFunction · 0.80
enqueue_tui_requestFunction · 0.80

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected