ash_cubdb/lib/ash_cub_db/application.ex
James Harton 22d93d84cb
All checks were successful
continuous-integration/drone/push Build is passing
chore: first commit.
2023-08-07 15:20:09 +12:00

21 lines
550 B
Elixir

defmodule AshCubDB.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
# Starts a worker by calling: AshCubDB.Worker.start_link(arg)
# {AshCubDB.Worker, arg}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: AshCubDB.Supervisor]
Supervisor.start_link(children, opts)
end
end