diode

EffectSeq

class EffectSeq extends EffectBase

Wraps multiple Effects to be executed later. Effects are executed in the order they appear and the next effect is run only after the previous has completed. If an effect fails, the execution stops.

Linear Supertypes
EffectBase, Effect, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EffectSeq
  2. EffectBase
  3. Effect
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EffectSeq(head: Effect, tail: Seq[Effect], ec: ExecutionContext)

    head

    First effect to be run.

    tail

    Rest of the effects.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(that: Effect): EffectSet

    Combines two effects so that will be run in parallel.

    Combines two effects so that will be run in parallel.

    Definition Classes
    EffectBaseEffect
  5. def <<(that: Effect): EffectSeq

    Combines another effect with this one, to be run before this effect.

    Combines another effect with this one, to be run before this effect.

    Definition Classes
    EffectSeqEffectBaseEffect
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def >>(that: Effect): EffectSeq

    Combines another effect with this one, to be run after this effect.

    Combines another effect with this one, to be run after this effect.

    Definition Classes
    EffectSeqEffectBaseEffect
  9. def after(delay: FiniteDuration)(implicit runner: RunAfter): Effect

    Delays the execution of this effect by duration delay

    Delays the execution of this effect by duration delay

    Definition Classes
    EffectBaseEffect
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap(g: (AnyRef) ⇒ Future[AnyRef]): EffectSeq

    Creates a new effect by applying a function to the successful result of this effect, and returns the result of the function as the new future.

    Creates a new effect by applying a function to the successful result of this effect, and returns the result of the function as the new future. If this effect is completed with an exception then the new effect will also contain this exception.

    Definition Classes
    EffectSeqEffectBaseEffect
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def map(g: (AnyRef) ⇒ AnyRef): EffectSeq

    Creates a new effect by applying a function to the successful result of this effect.

    Creates a new effect by applying a function to the successful result of this effect. If this effect is completed with an exception then the new effect will also contain this exception.

    Definition Classes
    EffectSeqEffectBaseEffect
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def run(dispatch: (AnyRef) ⇒ Unit): Future[Unit]

    Runs the effect and dispatches the result of the effect.

    Runs the effect and dispatches the result of the effect.

    dispatch

    Function to dispatch the effect result with.

    returns

    A future that completes when the effect completes.

    Definition Classes
    EffectSeqEffect
  24. def size: Int

    Returns the number of effects

    Returns the number of effects

    Definition Classes
    EffectSeqEffectBaseEffect
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toFuture: Future[AnyRef]

    Runs the effect function and returns its value (a Future[AnyRef])

    Runs the effect function and returns its value (a Future[AnyRef])

    Definition Classes
    EffectSeqEffect
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EffectBase

Inherited from Effect

Inherited from AnyRef

Inherited from Any

Ungrouped