Delegate AsyncRecipientList<TPayload>.RecipientPredicate
Async predicate used to decide whether a recipient should receive a message.
public delegate ValueTask<bool> AsyncRecipientList<TPayload>.RecipientPredicate(Message<TPayload> message, MessageContext context, CancellationToken cancellationToken)
Parameters
messageMessage<TPayload>- Async predicate used to decide whether a recipient should receive a message.
contextMessageContext- Async predicate used to decide whether a recipient should receive a message.
cancellationTokenCancellationToken- Async predicate used to decide whether a recipient should receive a message.