Quantcast
Channel: Universal Windows App – Abundant Code
Viewing all articles
Browse latest Browse all 9

Thread.Sleep equivalent in UWP App

$
0
0
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));

Viewing all articles
Browse latest Browse all 9

Trending Articles