- Companion
- object
object TwitterFutureEffect
object future
Type members
Inherited types
Value members
Inherited methods
final def fromFuture[R, A](c: => Future[A], timeout: Option[FiniteDuration])(implicit evidence$2: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
final def fromFutureWithExecutors[R, A](c: (FuturePool, Scheduler) => Future[A], timeout: Option[FiniteDuration])(implicit evidence$1: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
final def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TwitterTimedFuture[A], R]): Eff[R, Either[Throwable, A]]
- Inherited from
- TwitterFutureInterpretation
final def futureDelay[R, A](a: => A, timeout: Option[FiniteDuration])(implicit evidence$5: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
final def futureFork[R, A](a: => A)(pool: FuturePool, timeout: Option[FiniteDuration])(implicit evidence$6: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
final def futureFromEither[R, A](e: Either[Throwable, A])(implicit evidence$4: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
final def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TwitterTimedFuture[A], 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
- Inherited from
- TwitterFutureInterpretation
final def futureMemoized[R, A](key: AnyRef, e: Eff[R, A])(implicit future: MemberInOut[[A] =>> TwitterTimedFuture[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
- Inherited from
- TwitterFutureInterpretation
final def memoize[A](key: AnyRef, cache: Cache, future: TwitterTimedFuture[A]): TwitterTimedFuture[A]
memoize future result using a cache
memoize future result using a cache
- Inherited from
- TwitterFutureInterpretation
def retryUntil[R, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration])(implicit evidence$7: _future[R]): Eff[R, A]
- Inherited from
- TwitterFutureCreation
def runAsync[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[[A] =>> TwitterTimedFuture[A], R, NoFx]): Future[A]
- Inherited from
- TwitterFutureInterpretation
def runFutureMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[[A] =>> Memoized[A], R, U], task: MemberIn[[A] =>> TwitterTimedFuture[A], U]): Eff[U, A]
- Inherited from
- TwitterFutureInterpretation
def runSequential[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[[A] =>> TwitterTimedFuture[A], R, NoFx]): Future[A]
- Inherited from
- TwitterFutureInterpretation