abstract class EffectBase extends Effect
- Alphabetic
- By Inheritance
- EffectBase
- Effect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EffectBase(ec: ExecutionContext)
Abstract Value Members
-
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
-
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
-
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
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
- 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]): 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
- 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
size: Int
Returns the number of effects
Returns the number of effects
- Definition Classes
- EffectBase → Effect
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )