defmodule Acme.Application do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
# This is the new line
Acme.Scheduler
]
opts = [strategy: :one_for_one, name: Acme.Supervisor]
Supervisor.start_link(children, opts)
end
end
Hello! The current readme gives:
But as mentioned here (https://hexdocs.pm/elixir/1.10.4/Supervisor.Spec.html):
The Supervisor module is documented at https://hexdocs.pm/elixir/master/Supervisor.html, and I will follow that.
Are there caveats to switching to the new Supervisor in the case of Quantum?
Thanks!