Interface IAsyncCommand<T>
- Namespace
- Executables
- Assembly
- executables.dll
Represents an asynchronous command that may succeed or fail.
public interface IAsyncCommand<in T> : IAsyncExecutable<T, bool>
Type Parameters
TType of the command input.
- Inherited Members
Methods
Execute(T, CancellationToken)
Executes the command.
ValueTask<bool> Execute(T input, CancellationToken token = default)
Parameters
inputTCommand input.
tokenCancellationTokenCancellation token.