Current section

Files

Jump to
avalanche lib avalanche application.ex
Raw

lib/avalanche/application.ex

defmodule Avalanche.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
Avalanche.TokenCache,
{Task.Supervisor, name: Avalanche.TaskSupervisor}
]
opts = [strategy: :one_for_one, name: Avalanche.Supervisor]
Supervisor.start_link(children, opts)
end
end