using System.Threading.Tasks; using System.Windows.Input; namespace FluentTerminal.App.ViewModels.Infrastructure { /// /// based on: https://github.com/johnthiriet/AsyncVoid /// public interface IAsyncCommand : ICommand { Task ExecuteAsync(); bool CanExecute(); } public interface IAsyncCommand : ICommand { Task ExecuteAsync(T parameter); bool CanExecute(T parameter); } }