Belt v0.2.0 Belt.Job.Supervisor

Supervisor for Belt.Job processes.

Summary

Functions

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

Functions

start_child(payload, name \\ :auto)
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.

start_link()