Package org.apache.pekko.persistence.typed.state.scaladsl
package org.apache.pekko.persistence.typed.state.scaladsl
-
ClassDescriptionDurableStateBehavior<Command,
State> Further customization of theDurableStateBehaviorcan be done with the methods defined here.TheCommandHandlerdefines how to act on commands.API May ChangeEffect<State>A command handler returns anEffectdirective that defines what state to persist.Factory methods for creatingEffectdirectives - how aDurableStateBehaviorreacts on a command.EffectBuilder<State>A command handler returns anEffectdirective that defines what state to persist.ReplyEffect<State>DurableStateBehavior.withEnforcedRepliescan be used to enforce that replies are not forgotten.