Current section
Files
Jump to
Current section
Files
lib/gepa/application.ex
defmodule GEPA.Application do
@moduledoc false
use Application
@impl true
@spec start(Application.start_type(), term()) ::
{:ok, pid()} | {:error, {:already_started, pid()} | term()}
def start(_type, _args) do
children = [
# Task supervisor for parallel evaluation
{Task.Supervisor, name: GEPA.TaskSupervisor}
]
opts = [strategy: :one_for_one, name: GEPA.Supervisor]
Supervisor.start_link(children, opts)
end
end