FutureInterpretation

Companion
object
class Object
trait Matchable
class Any

Type members

Inherited types

type _Future[R] = Member[[A] =>> TimedFuture[A], R]
Inherited from
FutureTypes
type _future[R] = MemberIn[[A] =>> TimedFuture[A], R]
Inherited from
FutureTypes

Value members

Concrete methods

final def attempt[A](a: TimedFuture[A]): TimedFuture[Either[Throwable, A]]
final def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TimedFuture[A], R]): Eff[R, Either[Throwable, A]]
final def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TimedFuture[A], 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

final def futureMemoized[R, A](key: AnyRef, e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TimedFuture[A], R], m: MemberIn[[A] =>> Memoized[A], 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

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[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
def runAsyncOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
def runSequential[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
def runSequentialOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]