Anoma.Supervisor (Anoma v0.34.0)
I am the top level supervisor for the Anoma node application.
I manage the shared processes and multiple nodes.
Shared Processes
- Registry
- NodeSupervisor
Summary
Functions
Returns a specification to start this module under a supervisor.
I start a new node with the given node_id
.
Given a node id, I stop that node completely.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link(any()) :: Supervisor.on_start()
@spec start_node(Anoma.Node.Supervisor.args_t()) :: DynamicSupervisor.on_start_child()
I start a new node with the given node_id
.
@spec stop_node(String.t()) :: :ok
Given a node id, I stop that node completely.