How to put a task to sleep (or delay) in C# 4.0?

Use the Microsoft.Bcl.Async package from NuGet, it has TaskEx.Delay.

Leave a Comment