Macro eventbus::register_hook
source · macro_rules! register_hook {
($b:expr, $p:expr, $t:ty, $h:expr) => { ... };
}
Expand description
Registers an event hook.
Usage: register_hook!(bus, priority, type, handler)
macro_rules! register_hook {
($b:expr, $p:expr, $t:ty, $h:expr) => { ... };
}
Registers an event hook.
Usage: register_hook!(bus, priority, type, handler)