Interface IAsyncCommand<TData, TResult>
- Namespace
- JobFlow.Core.Infrastructure.Commands
- Assembly
- JobFlow.Core.dll
Represents a command that returns a result value.
public interface IAsyncCommand<TData, TResult> : IAsyncCommand<TData>
Type Parameters
TData
TResult
- Extension Methods
Remarks
Note that this interface also implements IAsyncCommand<TData>.
Methods
ExecuteAsync(TData)
Task<TResult> ExecuteAsync(TData data)
Parameters
data
TData
Returns
- Task<TResult>