sjb-sjb

Results 37 comments of sjb-sjb

Would a wrapped SemaphoreSlim(1,1) cause similar issues under high load?

I wonder what the rationale is for using the queuing approach rather than the older SemaphoreSlim method.

object.Equals(a ,b) does a pretty good job of detecting whether there was a change, IMHO. It gives the user some control because they can implement IEquatable if they wish. There...

Noting there is a workaround which is to not list uap first in the list of TargetFrameworks. I found this tip here: https://developercommunity.visualstudio.com/content/problem/1170010/missing-value-for-targetplatformwinmdlocation-prop.html

Lo and behold, it was not! After posting I found out the SDK's are optional to the UWP load. Feeling a bit dumb on this one ...

Another possibility might be to use the bound functions from issue #5, or more generally to call CanExecuteChanged from a property notification callback.

Good comments! I agree about the race condition, at least when the task is on a different thread. The task could complete between the time that we test for completion...

Well .... I thought I understood this, but now I'm starting to wonder. Let's say I have a method async Task methodAsync() {...} and I want to call back a...

I guess you are saying to do this but do not hook up PropertyChanged: since the exception is caught and passed directly to HandleException, there is no need to get...