Current section
Files
Jump to
Current section
Files
lib/supervisor.ex
defmodule Blitzy.Supervisor do
use Supervisor
def start_link(:ok) do
Supervisor.start_link(__MODULE__, :ok)
end
def init(:ok) do
children = [
supervisor(Task.Supervisor, [[name: Blitzy.TasksSupervisor]])
]
supervise(children, [strategy: :one_for_one])
end
end