Interface ReplyEffect<Event,​State>

  • All Superinterfaces:
    All Known Implementing Classes:
    CompositeEffect, EffectImpl, Persist, PersistAll, PersistNothing$, Stash$, Unhandled$

    public interface ReplyEffect<Event,​State>
    extends Effect<Event,​State>
    EventSourcedBehavior.withEnforcedReplies 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 Effect.reply, Effect.noReply, Effect.thenReply, or Effect.thenNoReply.

    Not intended for user extension.