Packages

Paquete de prueba de Audiograms

Current section

Files

Jump to
audiograms lib application.ex
Raw

lib/application.ex

defmodule Audiograms.Application do
@moduledoc false
use Application
def start(_type, _args) do
Audiograms.setup()
children = [
{Registry, keys: :unique, name: Audiograms.ManagerRegistry}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: Audiograms.Supervisor]
Supervisor.start_link(children, opts)
end
end