Table of Contents

Delegate AsyncFunc<T1, T2, TResult>

Namespace
Executables
Assembly
executables.dll

Represents an asynchronous function with two input arguments and a result.

public delegate ValueTask<TResult> AsyncFunc<in T1, in T2, TResult>(T1 arg1, T2 arg2, CancellationToken token = default)

Parameters

arg1 T1

First input argument.

arg2 T2

Second input argument.

token CancellationToken

Cancellation token.

Returns

ValueTask<TResult>

Asynchronous operation producing a result.

Type Parameters

T1

Type of the first input argument.

T2

Type of the second input argument.

TResult

Type of the function result.