Table of Contents

Delegate Saga<TState>.StepPredicate<TMessage>

Namespace
PatternKit.Messaging.Sagas
Assembly
PatternKit.Core.dll

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

state TState
Predicate used to decide whether a typed saga step should handle a message.
message Message<TMessage>
Predicate used to decide whether a typed saga step should handle a message.
context MessageContext
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