Table of Contents

Interface IAsyncExecutor<TIn, TOut>

Namespace
Executables
Assembly
executables.dll

Represents an asynchronous executor that processes input and returns a result.

public interface IAsyncExecutor<in TIn, TOut>

Type Parameters

TIn

Input type.

TOut

Output type.

Methods

Execute(TIn, CancellationToken)

Executes the operation for the specified input value.

ValueTask<TOut> Execute(TIn input, CancellationToken token = default)

Parameters

input TIn

Input value.

token CancellationToken

Cancellation token.

Returns

ValueTask<TOut>

Asynchronous execution result.