Class

diode

EffectSet

Related Doc: package diode

Permalink

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)

    Permalink

    head

    First effect to be run.

    tail

    Rest of the effects.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >>(that: Effect): EffectSeq

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val ec: ExecutionContext

    Permalink
    Definition Classes
    EffectBaseEffect
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    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

    Permalink

    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[_]

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

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

    Permalink
    Definition Classes
    Any
  18. def map[B](g: (Any) ⇒ B)(implicit arg0: ActionType[B]): EffectSet

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def run(dispatch: (Any) ⇒ Unit): Future[Unit]

    Permalink

    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

    Permalink

    Returns the number of effects

    Returns the number of effects

    Definition Classes
    EffectSetEffectBaseEffect
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toFuture: Future[Set[Any]]

    Permalink

    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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EffectBase

Inherited from Effect

Inherited from AnyRef

Inherited from Any

Ungrouped