defmodule MyPlugin.Application do @moduledoc """ OTP Application for this plugin. Uncomment the `mod:` entry in mix.exs to activate this supervision tree. Add plugin-specific GenServers, workers, or supervisors as children here. """ use Application @impl true def start(_type, _args) do children = [ # Add your supervised processes here, e.g.: # {MyPlugin.Worker, []} ] opts = [strategy: :one_for_one, name: MyPlugin.Supervisor] Supervisor.start_link(children, opts) end end