Skip to main content

dispatch_to_reducer_timed

Function dispatch_to_reducer_timed 

Source
pub(crate) async fn dispatch_to_reducer_timed(
    state: &AppState,
    cmd: Command,
) -> (Vec<Event>, ReducerTiming)
Expand description

dispatch_to_reducer that also says how long it waited for the reducer mutex and how long the reducer took. Used where a slow call has to be told apart as queue wait, reducer or persist (#47767).