FutureEffect

org.atnos.eff.FutureEffect
See theFutureEffect companion trait
object FutureEffect extends FutureEffect

Attributes

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

Members list

Type members

Inherited types

type _Future[R] = Member[TimedFuture, R]

Attributes

Inherited from:
FutureTypes
Source
FutureTypes.scala
type _future[R] = MemberIn[TimedFuture, R]

Attributes

Inherited from:
FutureTypes
Source
FutureTypes.scala

Value members

Inherited methods

final def attempt[A](a: TimedFuture[A]): TimedFuture[Either[Throwable, A]]

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
final def fromFuture[R : _future, A](c: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

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

Attributes

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

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
final def futureDefer[R : _future, A](a: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

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

Attributes

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

Attributes

Inherited from:
FutureCreation
Source
FutureCreation.scala
final def futureFork[R : _future, A](a: => A, ec: ExecutionContext, timeout: Option[FiniteDuration]): Eff[R, A]

Attributes

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

Attributes

Inherited from:
FutureCreation
Source
FutureCreation.scala
final def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, 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

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
final def futureMemoized[R, A](key: AnyRef, e: Eff[R, A])(implicit future: MemberInOut[TimedFuture, 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:
FutureInterpretation
Source
FutureInterpretation.scala
final def memoize[A](key: AnyRef, cache: Cache, future: TimedFuture[A]): TimedFuture[A]

Attributes

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

Attributes

Inherited from:
FutureCreation
Source
FutureCreation.scala
def runAsync[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
def runAsyncOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
def runSequential[R, A](e: Eff[R, A])(implicit scheduler: Scheduler, exc: ExecutionContext, m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

Inherited from:
FutureInterpretation
Source
FutureInterpretation.scala
def runSequentialOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(implicit m: Aux[TimedFuture, R, NoFx]): Future[A]

Attributes

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

Attributes

Inherited from:
FutureCreation
Source
FutureCreation.scala