Interface Effect<State>
-
- All Known Subinterfaces:
ReplyEffect<State>
- All Known Implementing Classes:
EffectBuilder
,PersistNothing$
,Stash$
,Unhandled$
public interface Effect<State>
A command handler returns anEffect
directive that defines what state to persist.Instances of
Effect
are available through factoriesDurableStateBehavior.Effect
.Not intended for user extension.