He-Pin commented on code in PR #3682:
URL: https://github.com/apache/pekko/pull/3682#discussion_r4366727301
##########
persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/javadsl/Effect.scala:
##########
@@ -211,3 +212,31 @@ import pekko.persistence.typed.internal.SideEffect
*/
def thenUnstashAll(): ReplyEffect[Event, State]
}
+
+/**
+ * A reply decision that can be followed by stopping the actor.
+ * Returned by `reply`, `noReply`, `thenReply`, and `thenNoReply`.
+ * Stashing returns the base [[ReplyEffect]], which does not allow `thenStop`.
+ *
+ * Not intended for user extension.
+ *
+ * @since 2.0.0
+ */
+@DoNotInherit trait ReplyEffectWithStop[+Event, State] extends
ReplyEffect[Event, State] {
+ self: EffectImpl[Event, State] =>
Review Comment:
Staged api
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]