Table of Contents

Delegate IdempotentReceiver<TPayload, TResult>.MessageHandler

Namespace
PatternKit.Messaging.Reliability
Assembly
PatternKit.Core.dll

Async handler protected by the idempotent receiver.

public delegate ValueTask<TResult> IdempotentReceiver<TPayload, TResult>.MessageHandler(Message<TPayload> message, MessageContext context, CancellationToken cancellationToken)

Parameters

message Message<TPayload>
Async handler protected by the idempotent receiver.
context MessageContext
Async handler protected by the idempotent receiver.
cancellationToken CancellationToken
Async handler protected by the idempotent receiver.

Returns

ValueTask<TResult>
Async handler protected by the idempotent receiver.