3 ms·
>You can actually just use `.Wait` or `.Result()` most of the time if you just want to make it synchronous if it's just scrappy code. You call .GetAwaiter().Ge
by nullsense 6y ago
>You can actually just use `.Wait` or `.Result()` most of the time if you just want to make it synchronous if it's just scrappy code.
You call .GetAwaiter().GetResult();
and avoid mixing sync and async where at all possible.