View Source A2S.DynamicSupervisor (elixir_a2s v0.3.2)

Singleton dynamic supervisor for A2S.Statem processes.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts an A2S.Statem for the specified address.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_child({:inet.ip_address(), :inet.port_number()}) ::
  :ignore | {:error, any()} | {:ok, pid()} | {:ok, pid(), any()}

Starts an A2S.Statem for the specified address.

@spec start_link(any()) :: :ignore | {:error, any()} | {:ok, pid()}