c

diode

EffectBase

abstract class EffectBase extends Effect

Self Type
EffectBase
Linear Supertypes
Effect, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EffectBase
  2. Effect
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EffectBase(ec: ExecutionContext)

Abstract Value Members

  1. abstract 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
    Effect
  2. abstract def toFuture: Future[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
    Effect

Concrete 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
    EffectBaseEffect
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val ec: ExecutionContext
    Definition Classes
    EffectBaseEffect
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def flatMap[B](g: (Any) => Future[B])(implicit arg0: ActionType[B]): Effect

    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
    EffectBaseEffect
  15. final def getClass(): Class[_ <: AnyRef]
    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]): Effect

    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
    EffectBaseEffect
  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 size: Int

    Returns the number of effects

    Returns the number of effects

    Definition Classes
    EffectBaseEffect
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Effect

Inherited from AnyRef

Inherited from Any

Ungrouped