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

Function define_event

crates/opencode-core/src/bus.rs:134–136  ·  view source on GitHub ↗
(event_type: &'static str)

Source from the content-addressed store, hash-verified

132}
133
134pub fn define_event(event_type: &'static str) -> BusEventDef {
135 BusEventDef::new(event_type)
136}

Callers 1

summarizeFunction · 0.85

Calls 1

newFunction · 0.85

Tested by

no test coverage detected