Interface IAsyncOperation<TRequest>
- Namespace
- Olve.Operations
- Assembly
- Olve.Operations.dll
Represents an asynchronous operation that takes an input.
public interface IAsyncOperation<in TRequest>
Type Parameters
TRequestThe type of the input.
Methods
ExecuteAsync(TRequest, CancellationToken)
Executes the operation asynchronously.
Task<Result> ExecuteAsync(TRequest request, CancellationToken ct = default)
Parameters
requestTRequestThe input to the operation.
ctCancellationTokenThe cancellation token to cancel the operation.