View Source Infinitomata (Finitomata v0.16.0)
The sibling of Finitomata
, but runs transparently in the cluster.
Summary
Functions
See Finitomata.Distributed.Supervisor.all/1
.
See Finitomata.Distributed.GroupMonitor.count/1
.
Starts the FSM somewhere in the cluster.
The state of the FSM in the cluster.
Initiates the transition in the cluster.
Functions
See Finitomata.Distributed.Supervisor.all/1
.
See Finitomata.Distributed.GroupMonitor.count/1
.
Link to this function
start_fsm(id \\ __MODULE__, 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 \\ __MODULE__, 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.