Packages

Create cloud portable Elixir and Phoenix apps. Write once, use everywhere!

Current section

Files

Jump to
nomad lib nomad supervisor.ex
Raw

lib/nomad/supervisor.ex

defmodule Nomad.Supervisor do
use Supervisor
def start_link do
Supervisor.start_link __MODULE__, :ok
end
def init(:ok) do
children = []
supervise children, strategy: :one_for_one
end
end