Task.Delay Extended After Windows Sleep
Summary Task.Delay uses a timer that is driven by the system clock. When Windows enters sleep (S3) or hibernation (S4) the timer is paused, so the elapsed time does not include the period the machine was powered down. Consequently the delay finishes after the system wakes, extending the original interval. Root Cause Windows stops processing … Read more