Package akka.persistence.typed.scaladsl
Interface Effect<Event,State>
-
- All Known Subinterfaces:
EffectBuilder<Event,State>
,ReplyEffect<Event,State>
- All Known Implementing Classes:
PersistNothing$
,Stash$
,Unhandled$
public interface Effect<Event,State>
A command handler returns anEffect
directive that defines what event or events to persist.Instances are created through the factories in the
Effect
companion object.Not for user extension.