FutureInterpretation

org.atnos.eff.FutureInterpretation
See theFutureInterpretation companion object

Attributes

Companion:
object
Source:
FutureEffect.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FutureEffect.type
object future.type

Members list

Concise view

Type members

Inherited types

type _Future[R] = Member[TimedFuture, R]

Attributes

Inherited from:
FutureTypes
Source:
FutureEffect.scala

Attributes

Inherited from:
FutureTypes
Source:
FutureEffect.scala

Value members

Concrete methods

final def attempt[A](a: TimedFuture[A]): TimedFuture[Either[Throwable, A]]

Attributes

Source:
FutureEffect.scala
final def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, R]): Eff[R, Either[Throwable, A]]

Attributes

Source:
FutureEffect.scala
final def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, R]): Eff[R, A]

Memoize future values using a cache

Memoize future values using a cache

if this method is called with the same key the previous value will be returned

Attributes

Source:
FutureEffect.scala
final def futureMemoized[R, A](key: AnyRef, e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, R], m: MemberIn[Memoized, R]): Eff[R, A]

Memoize Future values using a memoization effect

Memoize Future values using a memoization effect

if this method is called with the same key the previous value will be returned

Attributes

Source:
FutureEffect.scala
final def memoize[A](key: AnyRef, cache: Cache, future: TimedFuture[A]): TimedFuture[A]

Attributes

Source:
FutureEffect.scala
def runAsync[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Source:
FutureEffect.scala
def runAsyncOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Source:
FutureEffect.scala
def runSequential[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Source:
FutureEffect.scala
def runSequentialOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Source:
FutureEffect.scala