Table of Contents

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

TRequest

The type of the input.

Methods

ExecuteAsync(TRequest, CancellationToken)

Executes the operation asynchronously.

Task<Result> ExecuteAsync(TRequest request, CancellationToken ct = default)

Parameters

request TRequest

The input to the operation.

ct CancellationToken

The cancellation token to cancel the operation.

Returns

Task<Result>

The result of the operation.