Table of Contents

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

arg T1

Input argument.

token CancellationToken

Cancellation token.

Returns

ValueTask<TResult>

Asynchronous operation producing a result.

Type Parameters

T1

Type of the input argument.

TResult

Type of the function result.