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