Delegate Saga<TState>.StepPredicate<TMessage>
Predicate used to decide whether a typed saga step should handle a message.
public delegate bool Saga<TState>.StepPredicate<TMessage>(TState state, Message<TMessage> message, MessageContext context)
Parameters
stateTState- Predicate used to decide whether a typed saga step should handle a message.
messageMessage<TMessage>- Predicate used to decide whether a typed saga step should handle a message.
contextMessageContext- Predicate used to decide whether a typed saga step should handle a message.
Returns
- bool
- Predicate used to decide whether a typed saga step should handle a message.
Type Parameters
TMessage