Interface Effect<State>
-
- All Known Subinterfaces:
EffectBuilder<State>,ReplyEffect<State>
- All Known Implementing Classes:
PersistNothing$,Stash$,Unhandled$
public interface Effect<State>A command handler returns anEffectdirective that defines what state to persist.Instances are created through the factories in the
Effectcompanion object.Not for user extension.