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

Method send

crates/opencode-tui/src/event.rs:73–75  ·  view source on GitHub ↗
(&self, event: Event)

Source from the content-addressed store, hash-verified

71 }
72
73 pub fn send(&self, event: Event) {
74 let _ = self.tx.send(event);
75 }
76
77 pub fn send_custom(&self, event: CustomEvent) {
78 let _ = self.tx.send(Event::Custom(event));

Callers 15

send_sse_eventFunction · 0.45
session_promptFunction · 0.45
handle_pty_websocketFunction · 0.45
broadcastMethod · 0.45
create_sessionMethod · 0.45
fetch_wellknown_configFunction · 0.45
auth_fetch_streamMethod · 0.45
watchMethod · 0.45
wait_for_server_readyFunction · 0.45
resolve_remote_sessionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected