pub type EffectReducer<S, A, E> = fn(&mut S, A) -> ReducerResult<E>;Expand description
A reducer function that can emit effects.
Takes mutable state and an action, returns whether state changed and any effects to process.
pub type EffectReducer<S, A, E> = fn(&mut S, A) -> ReducerResult<E>;A reducer function that can emit effects.
Takes mutable state and an action, returns whether state changed and any effects to process.