View Source A2S.DynamicSupervisor (elixir_a2s v0.3.4)

Singleton dynamic supervisor for A2S.Statem processes.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts an A2S.Statem for the specified address.

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()}