Class ReplyEffect<Event,​State>

  • Direct Known Subclasses:
    EffectImpl

    public abstract class ReplyEffect<Event,​State>
    extends Effect<Event,​State>
    EventSourcedBehaviorWithEnforcedReplies can be used to enforce that replies are not forgotten. Then there will be compilation errors if the returned effect isn't a ReplyEffect, which can be created with Effects().reply, Effects().noReply, Effect.thenReply, or Effect.thenNoReply.
    • Constructor Detail

      • ReplyEffect

        public ReplyEffect()