object Effect
contains implicit Effect
implementations for common effectful classes
- Source
- Effect.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Effect
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
implicit
class
Syntax[F[_], A] extends AnyRef
provides object-oriented forwarders for
Effect
methods.provides object-oriented forwarders for
Effect
methods. if you have something like this:implicit val effect: Effect[F] = ... val fa: F[A] = ... val f: A => B = ...
you can now say:
import longevity.effect.Effect.Syntax val fb: F[B] = fa.map(f)
instead of:
val fb: F[B] = effect.map(fa)(f)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
val
blockingEffect: Effect[Blocking]
an implicit
Effect
implementation forlongevity.effect.Blocking
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
defaultDuration: FiniteDuration
the default duration to await a future in Effect.run
-
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] )
-
implicit
def
futureEffect(implicit context: ExecutionContext, duration: Duration = defaultDuration): Effect[Future]
an implicit
Effect
implementation forscala.concurrent.Future
-
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
-
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()
-
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( ... )