Type Alias fmodel_rust::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 */);