c

diode

EffectSet

class EffectSet extends EffectBase

Wraps multiple Effects to be executed later. Effects are executed in parallel without any ordering.

Linear Supertypes
EffectBase, Effect, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EffectSet
  2. EffectBase
  3. Effect
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EffectSet(head: Effect, tail: Set[Effect], ec: ExecutionContext)

    head

    First effect to be run.

    tail

    Rest of the effects.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. 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
    EffectSetEffectBaseEffect
  4. 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
    EffectBaseEffect
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. 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
    EffectBaseEffect
  7. 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
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. val ec: ExecutionContext
    Definition Classes
    EffectBaseEffect
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[B](g: (Any) ⇒ Future[B])(implicit arg0: ActionType[B]): EffectSet

    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
    EffectSetEffectBaseEffect
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map[B](g: (Any) ⇒ B)(implicit arg0: ActionType[B]): EffectSet

    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
    EffectSetEffectBaseEffect
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def run(dispatch: (Any) ⇒ 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
    EffectSetEffect
  23. def size: Int

    Returns the number of effects

    Returns the number of effects

    Definition Classes
    EffectSetEffectBaseEffect
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toFuture: Future[Set[Any]]

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

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

    Definition Classes
    EffectSetEffect
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from EffectBase

Inherited from Effect

Inherited from AnyRef

Inherited from Any

Ungrouped