cancelScenario

open fun cancelScenario(scenarioName: String): Boolean(source)

Cancel a single scenario by name without stopping the enclosing run. Only meaningful for scenario sweeps — other orchestrators return false from the default implementation.

Return

true when a running scenario was found and a cancellation request was issued; false when the name was unknown, not running, or this handle doesn't support per-scenario cancellation.

Parameters

scenarioName

matches the ScenarioSpec.name of the scenario to cancel. Names that aren't currently running are silently ignored.