CommunityToolkit discussion: handling Receive async await
Looking for a little advice on the subject. I've found a workaround for the moment, but if there are any other pearls, I'm open to suggestions how better to handle things. Semi intermediate subject I suppose; possibly advanced as it deals with potentially nuanced
async await
.
https://github.com/CommunityToolkit/dotnet/discussions/983GitHub
Async await cancelations during Send · CommunityToolkit dotnet · Di...
I was noticing that during a WPF dispatch timer (Tick) event, I did an IMessenger.Send<T>, and during that, my IRecipient<T>.Receive(T) function was async await. In theory that is an im...
1 Reply
What does "showing signs of cancellation" mean? Why are you using
async void
? Why are you Wait()
ing a Task.Run
result?