struct

FSM::Transition

Inherits Struct < Value < Object

Represents a transition from one state to another triggered by an event.

@property event [String] The event that triggers the transition. @property target [String] The target state after the transition. @property callbacks [Callable(String, Context)?] Optional callback to be executed during the transition.

Instance methods

event

The event that triggers the transition.

Source
guard
Source
target

The target state after the transition.

Source