FunctionalInterface for reacting on commands
FunctionalInterface for reacting on commands
Used with CommandHandlerBuilder to setup the behavior of a PersistentBehavior
A command handler returns an Effect
directive that defines what event or events to persist.
A command handler returns an Effect
directive that defines what event or events to persist.
Additional side effects can be performed in the callback andThen
Instances of Effect
are available through factories in the respective Java and Scala DSL packages.
Not intended for user extension.
FunctionalInterface for reacting on events having been persisted
FunctionalInterface for reacting on events having been persisted
Used with EventHandlerBuilder to setup the behavior of a PersistentBehavior
Java API
Java API