FutureEffect

object FutureEffect extends FutureEffect
Companion
class
class Object
trait Matchable
class Any

Type members

Inherited types

type _Future[R] = Member[[A] =>> TimedFuture[A], R]
Inherited from
FutureTypes
type _future[R] = MemberIn[[A] =>> TimedFuture[A], R]
Inherited from
FutureTypes

Value members

Inherited methods

final def attempt[A](a: TimedFuture[A]): TimedFuture[Either[Throwable, A]]
Inherited from
FutureInterpretation
final def fromFuture[R, A](c: => Future[A], timeout: Option[FiniteDuration])(`evidence$2`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def fromFutureWithExecutors[R, A](c: (Scheduler, ExecutionContext) => Future[A], timeout: Option[FiniteDuration])(`evidence$1`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureAttempt[R, A](e: Eff[R, A])(future: MemberInOut[[A] =>> TimedFuture[A], R]): Eff[R, Either[Throwable, A]]
Inherited from
FutureInterpretation
final def futureDefer[R, A](a: => Future[A], timeout: Option[FiniteDuration])(`evidence$7`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureDelay[R, A](a: => A, timeout: Option[FiniteDuration])(`evidence$5`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureFail[R, A](t: Throwable)(`evidence$3`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureFork[R, A](a: => A, ec: ExecutionContext, timeout: Option[FiniteDuration])(`evidence$6`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureFromEither[R, A](e: Either[Throwable, A])(`evidence$4`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
final def futureMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(future: MemberInOut[[A] =>> TimedFuture[A], 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

Inherited from
FutureInterpretation
final def futureMemoized[R, A](key: AnyRef, e: Eff[R, A])(future: MemberInOut[[A] =>> TimedFuture[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
FutureInterpretation
final def memoize[A](key: AnyRef, cache: Cache, future: TimedFuture[A]): TimedFuture[A]
Inherited from
FutureInterpretation
def retryUntil[R, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration])(`evidence$8`: _future[R]): Eff[R, A]
Inherited from
FutureCreation
def runAsync[R, A](e: Eff[R, A])(scheduler: Scheduler, exc: ExecutionContext, m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
Inherited from
FutureInterpretation
def runAsyncOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
Inherited from
FutureInterpretation
def runSequential[R, A](e: Eff[R, A])(scheduler: Scheduler, exc: ExecutionContext, m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
Inherited from
FutureInterpretation
def runSequentialOn[R, A](executorServices: ExecutorServices)(e: Eff[R, A])(m: Aux[[A] =>> TimedFuture[A], R, NoFx]): Future[A]
Inherited from
FutureInterpretation
def waitFor[R](duration: FiniteDuration)(`evidence$9`: _future[R]): Eff[R, Unit]
Inherited from
FutureCreation