Type Alias ReactFunction

Source
pub type ReactFunction<'a, AR, A> = Box<dyn Fn(&AR) -> Vec<A> + Send + Sync + 'a>;
Expand description

The ReactFunction function is used to decide what actions/A to execute next based on the action result/AR.

Aliased Typeยง

struct ReactFunction<'a, AR, A>(/* private fields */);