TwitterFutureEffect

Companion
class
class Object
trait Matchable
class Any

Type members

Inherited types

type _Future[R] = Member[TwitterTimedFuture, R]
Inherited from
TwitterFutureTypes
type _future[R] = MemberIn[TwitterTimedFuture, R]
Inherited from
TwitterFutureTypes

Value members

Inherited methods

final
def attempt[A](a: TwitterTimedFuture[A]): TwitterTimedFuture[Either[Throwable, A]]
final
def fromFuture[R : _future, A](c: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from
TwitterFutureCreation
final
def fromFutureWithExecutors[R : _future, A](c: (FuturePool, Scheduler) => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from
TwitterFutureCreation
final
def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[TwitterTimedFuture, R]): Eff[R, Either[Throwable, A]]
final
def futureDelay[R : _future, A](a: => A, timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from
TwitterFutureCreation
final
def futureFail[R : _future, A](t: Throwable): Eff[R, A]
Inherited from
TwitterFutureCreation
final
def futureFork[R : _future, A](a: => A)(pool: FuturePool, timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from
TwitterFutureCreation
final
def futureFromEither[R : _future, A](e: Either[Throwable, A]): Eff[R, A]
Inherited from
TwitterFutureCreation
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

Inherited from
TwitterFutureInterpretation
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

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 : _future, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration]): Eff[R, A]
Inherited from
TwitterFutureCreation
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]
def waitFor[R : _future](duration: FiniteDuration): Eff[R, Unit]
Inherited from
TwitterFutureCreation

Inherited fields

val twitterTimer: JavaTimer
Inherited from
TwitterFutureCreation