Type Definition extfsm::TransitionFn

source ·
pub type TransitionFn<ExtendedState, EventType, StateType, TransitionFnArguments, ErrorType> = dyn Fn(RefMut<'_, Box<ExtendedState>>, EventType, OptionalFnArg<TransitionFnArguments>) -> TransitionResult<EventType, StateType, TransitionFnArguments, ErrorType>;
Expand description

transition function used, takes optional argument and returns either with error or an optional set of events to be added to processing (at the end of event queue)