Current section
Files
Jump to
Current section
Files
lib/phoenix/sync/shape/supervisor.ex
defmodule Phoenix.Sync.Shape.Supervisor do
@moduledoc false
use Supervisor
def start_link(opts) do
Supervisor.start_link(__MODULE__, opts, name: __MODULE__)
end
def init(_opts) do
children = [
{Phoenix.Sync.Shape.Registry, []}
]
Supervisor.init(children, strategy: :one_for_one)
end
end