Skip to main content

run_command

Function run_command 

Source
async fn run_command(
    state: &AppState,
    cmd: Command,
) -> Result<Vec<Event>, String>
Expand description

Run a command through the reducer, store its events and publish them. Its refusal is the error.