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