canton7 / Stylet

A very lightweight but powerful ViewModel-First MVVM framework for WPF for .NET Framework and .NET Core, inspired by Caliburn.Micro.
MIT License
995 stars 144 forks source link

Whether to consider implementing s: Func<TResult> or not. #178

Closed wf-soft closed 3 years ago

wf-soft commented 3 years ago

Async Programming : Patterns for Asynchronous MVVM Applications: Commands

canton7 commented 3 years ago

Some more detail would be helpful. You say Func<TResult>, but the article talks about making ICommand.ExecuteAsync return a Task, not a result. Did you mean Func<Task>?

canton7 commented 3 years ago

Closing as no response