Packages
A test package to see if downloading from hex works for this thing
Current section
Files
Jump to
Current section
Files
lib/llama/supervisor.ex
defmodule Llama.Supervisor do
use Supervisor
def start_link(opts) do
Supervisor.start_link(__MODULE__, :ok, opts)
end
@impl true
def init(:ok) do
children = [
{Llama.LogStore, name: Llama.LogStore},
{Llama.InitStore, name: Llama.InitStore},
{Llama.Timer, name: Llama.Timer}
]
Supervisor.init(children, strategy: :one_for_one)
end
end