Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(handler: &mut impl ControlEventHandler, event: &ParsedCommand)
Expand description

Routes a parsed command to the matching ControlEventHandler callback.