retort v2.1.0 Retort.Server.Pool

Supervises multiple workers with the same configuration for Retort.Server.Generic

Summary

Functions

Starts count Retort.Server.Generic workers passing worker_state

Starts supervising the pool of workers

Functions

init(arg)
init([pos_integer | Retort.Server.Generic.t]) :: {:ok, {:supervisor.sup_flags, [Supervisor.Spec.spec]}}

Starts count Retort.Server.Generic workers passing worker_state

start_link(list, supervisor_options \\ [])
start_link([non_neg_integer | Retort.Server.Generic.t], Supervisor.options) :: Supervisor.on_start

Starts supervising the pool of workers