Current section

Files

Jump to
frontier lib frontier application.ex
Raw

lib/frontier/application.ex

defmodule Frontier.Application do
@moduledoc "OTP Application that initializes Frontier's ETS tables on startup."
use Application
@impl true
def start(_type, _args) do
Frontier.Store.init()
children = []
opts = [strategy: :one_for_one, name: Frontier.Supervisor]
Supervisor.start_link(children, opts)
end
end