Behaviours: supervisor.
agent_id() = term()
node_id() = atom() | string()
node_state() = map()
| init/1 | |
| start_link/1 | |
| start_node/5 | |
| stop_node/2 |
init(AgentId::agent_id()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}
start_link(AgentId::agent_id()) -> supervisor:start_ret()
start_node(SupPid::pid(), NodeId::node_id(), InitialState::node_state(), Edges::[term()], AgentId::term()) -> {ok, pid()} | {error, term()}
stop_node(SupPid::pid(), NodeId::node_id()) -> ok | {error, term()}
Generated by EDoc