A command handler returns a Effect directive that defines what event or events,
if any, to persist. Use the thenPersist, thenPersistAll or done methods of the context
that is passed to the command handler function to create the Effect directive.
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.
This member is added by an implicit conversion from Effect[Event, State] to
any2stringadd[Effect[Event, State]] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
ArrowAssoc[Effect[Event, State]] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
Ensuring[Effect[Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
Ensuring[Effect[Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
Ensuring[Effect[Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
Ensuring[Effect[Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
StringFormat[Effect[Event, State]] performed by method StringFormat in scala.Predef.
This member is added by an implicit conversion from Effect[Event, State] to
ArrowAssoc[Effect[Event, State]] performed by method ArrowAssoc in scala.Predef.
A command handler returns a
Effect
directive that defines what event or events, if any, to persist. Use thethenPersist
,thenPersistAll
ordone
methods of the context that is passed to the command handler function to create theEffect
directive.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.