- Companion
- object
Type members
Inherited types
Value members
Concrete methods
final
def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[TwitterTimedFuture, R]): Eff[R, Either[Throwable, A]]
final
def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit future: MemberInOut[TwitterTimedFuture, R]): Eff[R, A]
Memoize future effects using a cache
Memoize future effects 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[TwitterTimedFuture, 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
def runAsync[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[TwitterTimedFuture, R, NoFx]): Future[A]
def runFutureMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[Memoized, R, U], task: MemberIn[TwitterTimedFuture, U]): Eff[U, A]
def runSequential[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[TwitterTimedFuture, R, NoFx]): Future[A]