automata v0.1.0 Automata.AutomatonSupervisor

Runs as a child of Automata.AutomataSupervisor and supervises the Automaton.AgentServer which is a delegate for lifecycle management of the user agents and starts the agents under the Automata.AgentSupervisor.

This supervisor uses strategy :one_for_all to ensure that errors restart the entire supervision tree including the Automaton.AgentServer.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Supervisor.init/1.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

init(automaton_config)

Callback implementation for Supervisor.init/1.

Link to this function

start_link(automaton_config)