cs-codex-dist-tests/TestCore/Utils.cs

17 lines
307 B
C#

namespace CodexDistTests.TestCore
{
public static class Utils
{
public static void Sleep(TimeSpan span)
{
Thread.Sleep(span);
}
public static T Wait<T>(Task<T> task)
{
task.Wait();
return task.Result;
}
}
}