Current section

Files

Jump to
ex_trello lib ex_trello supervisor.ex
Raw

lib/ex_trello/supervisor.ex

defmodule ExTrello.Supervisor do
use Supervisor
def start_link do
:supervisor.start_link(__MODULE__, [])
end
def init([]) do
children = [
# Define workers and child supervisors to be supervised
# worker(ExTrello.Worker, [])
]
# See http://elixir-lang.org/docs/stable/Supervisor.Behaviour.html
# for other strategies and supported options
supervise(children, strategy: :one_for_one)
end
end