GuardCondition<E extends AutomataEvent> typedef
GuardCondition<E extends AutomataEvent> =
bool Function(E event)
A function used to allow / deny execution of a transition.
Implementation
typedef GuardCondition<E extends AutomataEvent> = bool Function(E event);