switched to new way

This commit is contained in:
Boki 2026-02-13 01:12:51 -05:00
parent f22d182c8f
commit 4a65c8e17b
96 changed files with 4991 additions and 10025 deletions

View file

@ -0,0 +1,14 @@
namespace Poe2Trade.Core;
public static class Helpers
{
private static readonly Random Rng = new();
public static Task Sleep(int ms) => Task.Delay(ms);
public static Task RandomDelay(int minMs, int maxMs)
{
var delay = Rng.Next(minMs, maxMs + 1);
return Task.Delay(delay);
}
}