class EffectSeq extends EffectBase
Wraps multiple Effects
to be executed later. Effects are executed in the order they appear and the
next effect is run only after the previous has completed. If an effect fails, the execution stops.
- Alphabetic
- By Inheritance
- EffectSeq
- EffectBase
- Effect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
- 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
- EffectSeq → 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
- EffectSeq → 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( ... ) @native()
-
val
ec: ExecutionContext
- Definition Classes
- EffectBase → Effect
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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]): EffectSeq
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
- EffectSeq → EffectBase → Effect
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](g: (Any) ⇒ B)(implicit arg0: ActionType[B]): EffectSeq
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
- EffectSeq → 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
- EffectSeq → EffectBase → Effect
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toFuture: Future[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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()