Owns run launch and provider execution under explicit supervision.
Summary
Functions
Executes a run against one or more providers and returns a structured outcome.
Launches a run under the executor supervisor.
Types
@type execution_result() :: {:ok, Aludel.Runs.Execution.t()} | {:error, :empty_providers | term()}
Functions
@spec execute(Aludel.Runs.Run.t(), [Aludel.Providers.Provider.t()]) :: execution_result()
Executes a run against one or more providers and returns a structured outcome.
@spec launch(Aludel.Runs.Run.t(), [Aludel.Providers.Provider.t()]) :: {:ok, pid()} | {:ok, pid(), term()} | {:error, :empty_providers | term()}
Launches a run under the executor supervisor.