mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
19 lines
429 B
C#
19 lines
429 B
C#
using System;
|
|
using Robust.Shared.Threading;
|
|
|
|
namespace Robust.UnitTesting;
|
|
|
|
/// <summary>
|
|
/// Only allows 1 parallel process for testing purposes.
|
|
/// </summary>
|
|
public sealed class TestingParallelManager : IParallelManager
|
|
{
|
|
public event Action? ParallelCountChanged;
|
|
public int ParallelProcessCount => 1;
|
|
public void AddAndInvokeParallelCountChanged(Action changed)
|
|
{
|
|
// Gottem
|
|
return;
|
|
}
|
|
}
|