forked from TeamInklings/Octobot
Using Thread.Sleep blocks the _entire_ thread from doing *anything*, while Task.Delay allows the thread to execute other tasks while the delay is passing. The inability to cancel Thread.Sleep may also cause longer shutdowns tl;dr Thread.Sleep bad, Task.Delay good made because of https://github.com/LabsDevelopment/Octobot/pull/234/commits/578c03871de0dd042f2fe0918df296f0a8123e00 Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com> |
||
---|---|---|
.. | ||
BannedSymbols.txt |