Język

IResilientTaskHandler<TInput,TOutput> Interface

Definition

Handles one execution attempt of a registered resilient task.

public interface IResilientTaskHandler<TInput,TOutput>
type IResilientTaskHandler<'Input, 'Output> = interface
Public Interface IResilientTaskHandler(Of TInput, TOutput)

Type Parameters

TInput

The task input type.

TOutput

The task output type.

Methods

Name Description
RunAsync(TaskContext<TInput>, CancellationToken)

Executes one attempt using the current task context.

Applies to