class EffectSet extends EffectBase with EffectSetExecutionOps
Wraps multiple Effects
to be executed later. Effects are executed in parallel without any ordering.
- Alphabetic
- By Inheritance
- EffectSet
- EffectSetExecutionOps
- EffectBase
- Effect
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- 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
- EffectSet → EffectBase → Effect
- 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
- EffectBase → Effect
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- EffectBase → Effect
- 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
- EffectBase → Effect
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val ec: ExecutionContext
- Definition Classes
- EffectBase → Effect
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- EffectSet → EffectBase → Effect
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val head: Effect
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- EffectSet → EffectBase → Effect
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def run(dispatch: (Any) => Unit): Future[Unit]
Runs the effect and dispatches the result of the effect.
- def size: Int
Returns the number of effects
Returns the number of effects
- Definition Classes
- EffectSet → EffectBase → Effect
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tail: Set[Effect]
- def toFuture: Future[Set[Any]]
Runs the effect function and returns its value (a Future[Any])
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()