Files
tribes-plugin-aether/lib/my_plugin/application.ex
2026-03-25 12:42:19 +01:00

22 lines
525 B
Elixir

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