Interface ReplyEffect<State>
- All Superinterfaces:
Effect<State>
- All Known Implementing Classes:
PersistNothing$,Stash$,Unhandled$
DurableStateBehavior.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, EffectBuilder.thenReply, or EffectBuilder.thenNoReply.
Not intended for user extension.
-
Method Summary
Modifier and TypeMethodDescriptionUnstash the commands that were stashed withEffect.stash.
-
Method Details
-
thenUnstashAll
ReplyEffect<State> thenUnstashAll()Unstash the commands that were stashed withEffect.stash.It's allowed to stash messages while unstashing. Those newly added commands will not be processed by this
unstashAlleffect and have to be unstashed by anotherunstashAll.
-