Package akka.persistence.typed.javadsl
Interface Effect<Event,State>
-
- All Known Subinterfaces:
ReplyEffect<Event,State>
- All Known Implementing Classes:
EffectBuilder,PersistNothing$,Stash$,Unhandled$
public interface Effect<Event,State>A command handler returns anEffectdirective that defines what event or events to persist.Instances of
Effectare available through factoriesEventSourcedBehavior.Effect.Not intended for user extension.