TwitterFutureEffect

org.atnos.eff.addon.twitter.TwitterFutureEffect
See theTwitterFutureEffect companion trait

Attributes

Companion
trait
Source
TwitterFutureEffect.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

Attributes

Inherited from:
TwitterFutureTypes
Source
TwitterFutureEffect.scala

Attributes

Inherited from:
TwitterFutureTypes
Source
TwitterFutureEffect.scala

Value members

Inherited methods

final def fromFuture[R : _future, A](c: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
final def fromFutureWithExecutors[R : _future, A](c: (FuturePool, Scheduler) => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
final def futureAttempt[R, A](e: Eff[R, A])(implicit future: MemberInOut[TwitterTimedFuture, R]): Eff[R, Either[Throwable, A]]

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
final def futureDelay[R : _future, A](a: => A, timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
final def futureFail[R : _future, A](t: Throwable): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
final def futureFork[R : _future, A](a: => A)(pool: FuturePool, timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
final def futureFromEither[R : _future, A](e: Either[Throwable, A]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
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

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
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

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
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

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
def retryUntil[R : _future, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration]): Eff[R, A]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala
def runAsync[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[TwitterTimedFuture, R, NoFx]): Future[A]

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
def runFutureMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[Memoized, R, U], task: MemberIn[TwitterTimedFuture, U]): Eff[U, A]

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
def runSequential[R, A](e: Eff[R, A])(implicit pool: FuturePool, scheduler: Scheduler, m: Aux[TwitterTimedFuture, R, NoFx]): Future[A]

Attributes

Inherited from:
TwitterFutureInterpretation
Source
TwitterFutureEffect.scala
def waitFor[R : _future](duration: FiniteDuration): Eff[R, Unit]

Attributes

Inherited from:
TwitterFutureCreation
Source
TwitterFutureEffect.scala

Inherited fields