SagaEventActionsType

PackageFCQRS
C#-friendly factory methods for saga EventAction

Specification

Kind
Type
Members
3
Examples
0
IgnoreSignature
SagaEventActions.Ignore()
StateChangedSignature
SagaEventActions.StateChanged(newState)
UnhandledSignature
SagaEventActions.Unhandled()

Summary

NameSignatureSynopsis
IgnoreSagaEventActions.Ignore()Ignore the event
StateChangedSagaEventActions.StateChanged(newState)Create a state change event
UnhandledSagaEventActions.Unhandled()Event was not handled

Ignore

SagaEventActions.Ignore()
Member
Ignore the event

Returns

EventAction<'TState>

StateChanged

SagaEventActions.StateChanged(newState)
Member
Create a state change event

Parameters

NameTypeDescription
newState'TState

Returns

EventAction<'TState>

Unhandled

SagaEventActions.Unhandled()
Member
Event was not handled

Returns

EventAction<'TState>