Belt v0.5.1 Belt.Job.Supervisor View Source

Supervisor for Belt.Job processes.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Starts a new Belt.Job process with the given payload and supervises it. When name is set to :auto or omitted, a name for the process will be generated automatically

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function start_child(payload, name \\ :auto) View Source
start_child(term(), term() | :auto) :: {:ok, Belt.Job.t()} | {:error, term()}

Starts a new Belt.Job process with the given payload and supervises it. When name is set to :auto or omitted, a name for the process will be generated automatically.

Link to this function start_link(init_arg \\ :ok) View Source