Current section

Files

Jump to
phoenix_live_view lib phoenix_live_view application.ex
Raw

lib/phoenix_live_view/application.ex

defmodule Phoenix.LiveView.Application do
@moduledoc false
use Application
def start(_type, _args) do
Supervisor.start_link(
[
{DynamicSupervisor, strategy: :one_for_one, name: Phoenix.LiveView.DynamicSupervisor}
],
strategy: :one_for_one,
name: Phoenix.LiveView.Supervisor
)
end
end