wombat_discovery v1.0.3 WombatDiscovery.Supervisor

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback invoked to start the supervisor and during hot code upgrades

Link to this section Functions

Link to this function child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback invoked to start the supervisor and during hot code upgrades.

Developers typically invoke Supervisor.init/2 at the end of their init callback to return the proper supervision flags.

Callback implementation for Supervisor.init/1.

Link to this function start_link(opts)
start_link(
  debug: [:log | :statistics | :trace | {any(), any()}],
  hibernate_after: :infinity | non_neg_integer(),
  name: atom() | {:global, any()} | {:via, atom(), any()},
  spawn_opt:
    :link
    | :monitor
    | {:fullsweep_after, non_neg_integer()}
    | {:min_bin_vheap_size, non_neg_integer()}
    | {:min_heap_size, non_neg_integer()}
    | {:priority, :high | :low | :normal},
  timeout: :infinity | non_neg_integer()
) :: :ignore | {:error, any()} | {:ok, pid()}