Fixed-capacity admission for supervised scenario runs.
cancel/1 stops future scenario work and asks the runner to perform its
declared cleanup reset. It never represents cancellation as rollback.
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()) :: :ok | {:error, Insider.Protocol.Error.t()}
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec run(Supervisor.supervisor(), Insider.Scenario.t(), [module()], keyword()) :: Insider.Protocol.Result.t() | {:error, Insider.Protocol.Error.t()}
@spec start_link(keyword()) :: Supervisor.on_start()
@spec start_run(Supervisor.supervisor(), Insider.Scenario.t(), [module()], keyword()) :: {:ok, handle()} | {:error, Insider.Protocol.Error.t()}