Current section
Files
Jump to
Current section
Files
lib/excetera/application.ex
defmodule Excetera.Application do
use Application
@doc false
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
# Define workers and child supervisors to be supervised
# worker(Excetera.Worker, [arg1, arg2, arg3])
]
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: Excetera.Supervisor]
Supervisor.start_link(children, opts)
end
end