Share your content and reach out to more developers by submitting them at Abundantcode.com - Developer Community Site

Thread.Sleep equivalent in UWP App

If you are looking for an equivanet for Thread.Sleep method in UWP apps , you can use the Task.Delay method instead.

The reason for this is that Task.Delay works like a pause method for the asynchronous call.

await Task.Delay(TimeSpan.FromSeconds(10));
Tags :

Leave Your Comment