Delegate AsyncFunc<T1, TResult>
- Namespace
- Executables
- Assembly
- executables.dll
Represents an asynchronous function with one input argument and a result.
public delegate ValueTask<TResult> AsyncFunc<in T1, TResult>(T1 arg, CancellationToken token = default)
Parameters
argT1Input argument.
tokenCancellationTokenCancellation token.
Returns
- ValueTask<TResult>
Asynchronous operation producing a result.
Type Parameters
T1Type of the input argument.
TResultType of the function result.