Files
tribes-plugin-template/lib/aether/application.ex

22 lines
519 B
Elixir

defmodule Aether.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.:
# {Aether.Worker, []}
]
opts = [strategy: :one_for_one, name: Aether.Supervisor]
Supervisor.start_link(children, opts)
end
end