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
Learn more about member selection
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: 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
    EffectSetEffectBaseEffect
  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
    EffectBaseEffect
  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
    EffectBaseEffect
  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. implicit val ec: ExecutionContext

    Definition Classes
    EffectSetEffectBaseEffect
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flatMap(g: (AnyRef) ⇒ Future[AnyRef]): 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
  17. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  20. def map(g: (AnyRef) ⇒ AnyRef): 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
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. 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
    EffectSetEffect
  25. def size: Int

    Returns the number of effects

    Returns the number of effects

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

    Definition Classes
    AnyRef
  27. def toFuture: Future[Set[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
    EffectSetEffect
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EffectBase

Inherited from Effect

Inherited from AnyRef

Inherited from Any

Ungrouped