Supervisor.which_children
You're seeing just the function
which_children
, go back to Supervisor module for more information.
Specs
which_children(supervisor()) :: [ {term() | :undefined, child() | :restarting, :worker | :supervisor, [module()] | :dynamic} ]
Returns a list with information about all children of the given supervisor.
Note that calling this function when supervising a large number of children under low memory conditions can cause an out of memory exception.
This function returns a list of {id, child, type, modules}
tuples, where:
id
- as defined in the child specificationchild
- the PID of the corresponding child process,:restarting
if the process is about to be restarted, or:undefined
if there is no such processtype
-:worker
or:supervisor
, as specified by the child specificationmodules
- as specified by the child specification