Skip to main content

emit

Function emit 

Source
pub fn emit<E: Event>(event: &E) -> bool
Expand description

Emits event on the bus — a mod’s own event, or the game’s on its behalf; whether no handler cancelled it (before the event, where it can be).