mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:56:31 +00:00
fix editing annotation
This commit is contained in:
@@ -10,9 +10,9 @@ public static class ThrottleExt
|
||||
|
||||
_throttleOn = true;
|
||||
await func();
|
||||
_ = Task.Run(() =>
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
Task.Delay(throttleTime ?? TimeSpan.FromMilliseconds(500));
|
||||
await Task.Delay(throttleTime ?? TimeSpan.FromMilliseconds(500));
|
||||
_throttleOn = false;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user