retort v2.7.0 Retort.Server.Pool View Source

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

Link to this section Summary

Functions

Starts count Retort.Server.Generic workers passing worker_state

Starts supervising the pool of workers

Link to this section Functions

Link to this function init(arg) View Source
init([pos_integer() | Retort.Server.Generic.t()]) :: {:ok, {:supervisor.sup_flags(), [Supervisor.Spec.spec()]}}

Starts count Retort.Server.Generic workers passing worker_state

Link to this function start_link(arg, supervisor_options \\ []) View Source
start_link([non_neg_integer() | Retort.Server.Generic.t()], Supervisor.options()) :: Supervisor.on_start()

Starts supervising the pool of workers