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
messageMessage<TPayload>- Async handler protected by the idempotent receiver.
contextMessageContext- Async handler protected by the idempotent receiver.
cancellationTokenCancellationToken- Async handler protected by the idempotent receiver.
Returns
- ValueTask<TResult>
- Async handler protected by the idempotent receiver.