Table of Contents

Delegate AsyncRecipientList<TPayload>.RecipientHandler

Namespace
PatternKit.Messaging.Routing
Assembly
PatternKit.Core.dll

Async recipient handler invoked for matching recipients.

public delegate ValueTask AsyncRecipientList<TPayload>.RecipientHandler(Message<TPayload> message, MessageContext context, CancellationToken cancellationToken)

Parameters

message Message<TPayload>
Async recipient handler invoked for matching recipients.
context MessageContext
Async recipient handler invoked for matching recipients.
cancellationToken CancellationToken
Async recipient handler invoked for matching recipients.

Returns

ValueTask
Async recipient handler invoked for matching recipients.