Table of Contents

Delegate IdempotentReceiver<TPayload, TResult>.KeySelector

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

Extracts an idempotency key from a message and context.

public delegate string? IdempotentReceiver<TPayload, TResult>.KeySelector(Message<TPayload> message, MessageContext context)

Parameters

message Message<TPayload>
Extracts an idempotency key from a message and context.
context MessageContext
Extracts an idempotency key from a message and context.

Returns

string
Extracts an idempotency key from a message and context.