You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TimeSpan.TotalMilliseconds converts the entire TimeSpan to milliseconds, whereas TimeSpan.Milliseconds simply returns the milliseconds portion of the timespan. If I wanted to timeout in 10 seconds, and used
https://github.com/jamesmontemagno/mvvm-helpers/blob/master/MvvmHelpers/Utils.cs
TimeSpan.TotalMilliseconds
converts the entireTimeSpan
to milliseconds, whereasTimeSpan.Milliseconds
simply returns the milliseconds portion of the timespan. If I wanted to timeout in 10 seconds, and usedTask task; //...
await task.WithTimeout(TimeSpan.FromSeconds(10));
I would get a timeout of 0 milliseconds instead of 10000 milliseconds.
The text was updated successfully, but these errors were encountered: