CPub.HTTP.Gun.ConnectionPool.WorkerSupervisor (CPub v0.3.0) View Source

Supervisor for pool workers. Does not do anything except enforce max connection limit.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for DynamicSupervisor.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

init(any()) :: {:ok, DynamicSupervisor.sup_flags()}

Callback implementation for DynamicSupervisor.init/1.

Specs

start_link(any()) :: Supervisor.on_start()
Link to this function

start_worker(opts, retry \\ false)

View Source

Specs

start_worker(
  keyword(),
  bool()
) :: DynamicSupervisor.on_start_child() | {:error, any()}