Skip to main content

process_command

Function process_command 

Source
pub fn process_command<Msg, F>(spec: ProcessSpec, map: F) -> Command
where Msg: Send + 'static, F: Fn(ProcessEvent) -> Msg + Send + 'static,
Expand description

Create a background command that maps process events into component messages.