This question is related to the MVVM Toolkit provided in the Windows Community Toolkit.
I was wondering if there are any plans to support scenarios where an async method can be called and awaited in a property setter, similar to what's mentioned here from Stephen Cleary's Mvvm.Async library? How to call an async method from a property setter
Thanks!
According to this comment, they have a
NotifyTaskCompletion<TResult>
, but it is being replaced byObservableObject.SetAndNotifyOnCompletion
in conjunction withTaskExtensions.ResultOrDefault
.I recommend asking further questions directly to the WCT team; Stack Overflow is more about programming questions and not questions regarding the future of a specific library.