Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
134
pub fn define_event(event_type: &'static str) -> BusEventDef {
135
BusEventDef::new(event_type)
136
}
Callers
1
summarize
Function · 0.85
Calls
1
new
Function · 0.85
Tested by
no test coverage detected