Table of Contents

Delegate AsyncFunc<TResult>

Namespace
Executables
Assembly
executables.dll

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

public delegate ValueTask<TResult> AsyncFunc<TResult>(CancellationToken token = default)

Parameters

token CancellationToken

Cancellation token.

Returns

ValueTask<TResult>

Asynchronous operation producing a result.

Type Parameters

TResult

Type of the function result.