pub type DecideFunction<'a, C, S, E> = Box<dyn Fn(&C, &S) -> Vec<E> + Send + Sync + 'a>;
Expand description
The DecideFunction function is used to decide which events to produce based on the command and the current state.
Aliased Typeยง
struct DecideFunction<'a, C, S, E>(/* private fields */);