View Source Infinitomata (Finitomata v0.15.0)
The sibling of Finitomata
, but runs transparently in the cluster.
Summary
Functions
Starts the FSM somewhere in the cluster.
The state of the FSM in the cluster.
Initiates the transition in the cluster.
Functions
Link to this function
start_fsm(id \\ nil, target, implementation, payload)
View Source (since 0.15.0)@spec start_fsm(Finitomata.id(), Finitomata.fsm_name(), module(), any()) :: DynamicSupervisor.on_start_child()
Starts the FSM somewhere in the cluster.
The state of the FSM in the cluster.
See Finitomata.state/3
.
Link to this function
transition(id \\ nil, target, event_payload, delay \\ 0)
View Source (since 0.15.0)@spec transition( Finitomata.id(), Finitomata.fsm_name(), Finitomata.Transition.event() | {Finitomata.Transition.event(), Finitomata.State.payload()}, non_neg_integer() ) :: :ok
Initiates the transition in the cluster.