namespace RobotNet10.NavigationTune.Interfaces; /// /// Singleton registry to cancel a running test by testRunId. /// Stop/EMC Stop API runs in a different HTTP scope than the test; this allows cancelling the correct test. /// public interface IRunningTestCancellationRegistry { void Register(Guid testRunId, CancellationTokenSource cts); bool TryCancel(Guid testRunId); void Unregister(Guid testRunId); }