Interface ReplyEffect<Event,​State>

  • All Superinterfaces:
    Effect<Event,​State>
    All Known Implementing Classes:
    CompositeEffect, EffectImpl, Persist, PersistAll, PersistNothing$, Stash$, Unhandled$

    public interface ReplyEffect<Event,​State>
    extends Effect<Event,​State>
    Unstash the commands that were stashed with Effect.stash.

    It's allowed to stash messages while unstashing. Those newly added commands will not be processed by this unstashAll effect and have to be unstashed by another unstashAll.

    • Method Detail

      • thenUnstashAll

        ReplyEffect<Event,​State> thenUnstashAll()
        Unstash the commands that were stashed with Effect.stash.

        It's allowed to stash messages while unstashing. Those newly added commands will not be processed by this unstashAll effect and have to be unstashed by another unstashAll.

        Returns:
        (undocumented)