Redigera

Dela via


MessageConsumer.ProcessingStepAsync(CancellationToken) Method

Definition

Represents processing steps for message(s).

protected:
 abstract System::Threading::Tasks::ValueTask ProcessingStepAsync(System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.ValueTask ProcessingStepAsync(System.Threading.CancellationToken cancellationToken);
abstract member ProcessingStepAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected MustOverride Function ProcessingStepAsync (cancellationToken As CancellationToken) As ValueTask

Parameters

cancellationToken
CancellationToken

The cancellation token for the processing step.

Returns

ValueTask.

Remarks

Different implementation of the consumer can override this method and execute the FetchAndProcessMessageAsync(CancellationToken) in parallel or in any other way using Task Parallel Library (TPL) / DataFlow or any other abstractions.

Applies to