pub type DecideFunction<'a, C, S, E, Error> = Box<dyn Fn(&C, &S) -> Result<Vec<E>, Error> + 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, Error>(/* private fields */);