MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / emit

Method emit

src/docker/proxy_manager.rs:179–181  ·  view source on GitHub ↗

Route an event through the TUI channel when available, otherwise print directly.

(&self, event: ServerEvent)

Source from the content-addressed store, hash-verified

177
178 /// Route an event through the TUI channel when available, otherwise print directly.
179 fn emit(&self, event: ServerEvent) {
180 crate::tui::events::emit_or_print(&self.event_sender, event);
181 }
182
183 /// Ensures the proxy for the given configuration is running and healthy.
184 ///

Callers 3

stop_proxyMethod · 0.45
cleanup_agent_networkMethod · 0.45

Calls 1

emit_or_printFunction · 0.85

Tested by

no test coverage detected