Fixed-capacity supervisor for provider-driven disposable target runs.
Provider modules are an explicit trusted allowlist configured at startup.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
@spec await(handle(), timeout()) :: Insider.Protocol.Result.t() | {:error, Insider.Protocol.Error.t()}
@spec cancel(handle(), timeout()) :: :ok | {:error, Insider.Protocol.Error.t()}
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec counts(Supervisor.supervisor()) :: {:ok, %{active: non_neg_integer(), quarantined: non_neg_integer()}} | {:error, Insider.Protocol.Error.t()}
@spec run(Supervisor.supervisor(), Insider.Sentinel.Sandbox.Target.t(), keyword()) :: Insider.Protocol.Result.t() | {:error, Insider.Protocol.Error.t()}
@spec start_link(keyword()) :: Supervisor.on_start()
@spec start_run( Supervisor.supervisor(), Insider.Sentinel.Sandbox.Target.t(), keyword() ) :: {:ok, handle()} | {:error, Insider.Protocol.Error.t()}