Copyright © (C) 2017, Fred Youhanaie
Behaviours: supervisor.
Authors: Fred Youhanaie (fyrlang@anydata,co.uk).
Supervises the worker processes.
This issimple_one_for_one
supervisor for all the worker
processes.
run_child/2 | Run a child process given a function or a string representation of a function. |
run_child/3 | Run a child process given a Module /Function /Args triple. |
start_link/1 | Starts the supervisor. |
run_child(Fun::string() | function(), Args::list()) -> {ok, pid()}
Run a child process given a function or a string representation of a function.
This function should only be called by the supervisor process.run_child(M::atom(), F::atom(), A::list()) -> {ok, pid()}
Run a child process given a Module
/Function
/Args
triple.
start_link(Inst_name::atom()) -> {ok, pid()} | ignore | {error, {already_started, pid()} | {shutdown, term()} | term()}
Starts the supervisor
We expect an espace instance name, which will uniquely identify all the components of the application.Generated by EDoc