Current section

Files

Jump to
maestro lib maestro application.ex
Raw

lib/maestro/application.ex

defmodule Maestro.Application do
@moduledoc false
use Application
def start(_type, _args) do
children = [
{Registry, keys: :unique, name: Maestro.Aggregate.Registry},
{Maestro.Aggregate.Supervisor, []}
]
opts = [strategy: :one_for_all, name: __MODULE__]
Supervisor.start_link(children, opts)
end
end