Uses of Interface
dk.cloudcreate.essentials.components.eventsourced.aggregates.decider.HandlerResult
Packages that use HandlerResult
-
Uses of HandlerResult in dk.cloudcreate.essentials.components.eventsourced.aggregates.decider
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.decider that implement HandlerResultModifier and TypeClassDescriptionstatic final recordHandlerResult.Error<ERROR,EVENT> Error variant of theHandlerResultstatic final recordHandlerResult.Success<ERROR,EVENT> Success variant of theHandlerResultMethods in dk.cloudcreate.essentials.components.eventsourced.aggregates.decider that return HandlerResultModifier and TypeMethodDescriptionTheexecutemethod is responsible for handling aCOMMAND, which can either result in anERRORor a list ofEVENT's.
Note: This method is calleddecidein the decider pattern
Idempotent handling of aCOMMANDwill result in an empty list ofEVENT'sTheexecutemethod is responsible for handling aCOMMAND, which can either result in anERRORor a list ofEVENT's (can be an empty list).
Note: This method is calleddecidein the decider pattern
Idempotent handling of aCOMMANDwill result in an empty list ofEVENT's