FutureInterpretation

Companion:
object
Source:
FutureEffect.scala
class Object
trait Matchable
class Any
object FutureEffect.type
object future.type

Type members

Inherited types

type _Future[R] = Member[TimedFuture, R]
Inherited from:
FutureTypes
Source:
FutureEffect.scala
Inherited from:
FutureTypes
Source:
FutureEffect.scala

Value members

Concrete methods

final def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, R]): Eff[R, Either[Throwable, A]]
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

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

Source:
FutureEffect.scala
final def memoize[A](key: AnyRef, cache: Cache, future: TimedFuture[A]): TimedFuture[A]
def runAsync[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]
def runAsyncOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]
def runSequential[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]
def runSequentialOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]