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

17 lines
301 B
C#

namespace CodexDistTestCore
{
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;
}
}
}