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 anEffectdirective that defines what event or events to persist.Instances are created through the factories in the
Effectcompanion object.Not for user extension.