Table of Contents

Interface IAsyncQuery<T1, T2>

Namespace
Executables
Assembly
executables.dll

Represents an asynchronous query that returns a result.

public interface IAsyncQuery<in T1, T2> : IAsyncExecutable<T1, T2>

Type Parameters

T1

Type of the query input.

T2

Type of the query result.

Inherited Members

Methods

Send(T1, CancellationToken)

Sends the query.

ValueTask<T2> Send(T1 input, CancellationToken token = default)

Parameters

input T1

Query input.

token CancellationToken

Cancellation token.

Returns

ValueTask<T2>

Asynchronous query result.