Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace RobotNet10.NavigationTune.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
public interface IRunningTestCancellationRegistry
|
||||
{
|
||||
void Register(Guid testRunId, CancellationTokenSource cts);
|
||||
bool TryCancel(Guid testRunId);
|
||||
void Unregister(Guid testRunId);
|
||||
}
|
||||
Reference in New Issue
Block a user