Package akka.persistence.typed.internal
Class SideEffect<State>
- java.lang.Object
-
- akka.persistence.typed.internal.SideEffect<State>
-
- Direct Known Subclasses:
Callback
,Stop$
,UnstashAll$
public abstract class SideEffect<State> extends java.lang.Object
ASideEffect
is an side effect that can be chained after a main effect.Persist, none and unhandled are main effects. Then any number of call backs can be added to these effects with
andThen
.INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description SideEffect()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <State> SideEffect<State>
apply(scala.Function1<State,scala.runtime.BoxedUnit> callback)
static <State> SideEffect<State>
unstashAll()
-
-
-
Method Detail
-
apply
public static <State> SideEffect<State> apply(scala.Function1<State,scala.runtime.BoxedUnit> callback)
-
unstashAll
public static <State> SideEffect<State> unstashAll()
-
-