ExPool v0.1.1 ExPool.State.Factory.Supervisor
Supervisor of the workers.
Summary
Functions
Specs
start_child(supervisor :: pid) :: Supervisor.on_start_child
Starts a new worker
Specs
start_link(worker_mod :: atom, opts :: [Keyword]) :: Supervisor.on_start
Creates a new supervisor.
It receives as arguments the worker module, and a Keyword list of options that will be passed to Supervisor.start_link/3.
Specs
stop_child(supervisor :: pid, worker :: pid) :: Supervisor.on_start_child
Stops a worker