View Source
Finitomata.State
(Finitomata v0.2.0)
Carries the state of the FSM.
The payload that has been passed to the FSM instance on startup
The internal representation of the FSM state
The payload that has been passed to the FSM instance on startup
@type t() :: %Finitomata.State{
current: Finitomata.Transition.state(),
payload: payload(),
history: [Finitomata.Transition.state()]
}
The internal representation of the FSM state