Class SideEffect<State>

  • Direct Known Subclasses:
    Callback, Stop$, UnstashAll$

    public abstract class SideEffect<State>
    extends java.lang.Object
    A SideEffect 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.

    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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SideEffect

        public SideEffect()
    • Method Detail

      • apply

        public static <State> SideEffect<State> apply​(scala.Function1<State,​scala.runtime.BoxedUnit> callback)
      • unstashAll

        public static <State> SideEffect<State> unstashAll()