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
arg1T1First input argument.
arg2T2Second input argument.
tokenCancellationTokenCancellation token.
Returns
- ValueTask<TResult>
Asynchronous operation producing a result.
Type Parameters
T1Type of the first input argument.
T2Type of the second input argument.
TResultType of the function result.