defmodule Sorcery.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ {Sorcery.PubSub, []}, {Sorcery.EventStore, []}, {Sorcery.Domain.Registry, []}, {Sorcery.AutoStart, []} ] opts = [strategy: :one_for_one, name: Sorcery.Supervisor] Supervisor.start_link(children, opts) end end