Current section
Files
Jump to
Current section
Files
lib/roboxir/application.ex
defmodule Roboxir.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _initial_state) do
children = [
# Starts a worker by calling: StackSupervised.Worker.start_link(arg)
{Roboxir.Store, %{}}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :rest_for_one, name: Roboxir.Supervisor]
Supervisor.start_link(children, opts)
end
end