Supervisor.count_children
You're seeing just the function
count_children
, go back to Supervisor module for more information.
Specs
count_children(supervisor()) :: %{ specs: non_neg_integer(), active: non_neg_integer(), supervisors: non_neg_integer(), workers: non_neg_integer() }
Returns a map containing count values for the given supervisor.
The map contains the following keys:
:specs
- the total count of children, dead or alive:active
- the count of all actively running child processes managed by this supervisor:supervisors
- the count of all supervisors whether or not these child supervisors are still alive:workers
- the count of all workers, whether or not these child workers are still alive