gallery manager WIP

This commit is contained in:
Alex Bezdieniezhnykh
2024-08-30 18:15:02 +03:00
parent 8d8a78c9f5
commit 9436e96d81
13 changed files with 402 additions and 157 deletions
@@ -10,7 +10,10 @@ public static class ThrottleExt
_throttleOn = true;
await func();
await Task.Delay(throttleTime ?? TimeSpan.FromMilliseconds(500));
_throttleOn = false;
_ = Task.Run(() =>
{
Task.Delay(throttleTime ?? TimeSpan.FromMilliseconds(500));
_throttleOn = false;
});
}
}