monix.types

Evaluable

trait Evaluable[F[_]] extends Deferrable[F] with Restartable[F]

Type-class for computations that can be materialized to a single result.

Linear Supertypes
Restartable[F], Deferrable[F], Zippable[F], Recoverable[F, Throwable], Monad[F], Applicative[F], Functor[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Evaluable
  2. Restartable
  3. Deferrable
  4. Zippable
  5. Recoverable
  6. Monad
  7. Applicative
  8. Functor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ap[A, B](fa: F[A])(ff: F[(A) ⇒ B]): F[B]

    Definition Classes
    Applicative
  2. abstract def defer[A](fa: ⇒ F[A]): F[A]

    Builds deferrable instances from the given factory.

    Builds deferrable instances from the given factory.

    Definition Classes
    Deferrable
  3. abstract def dematerialize[A](fa: F[Try[A]]): F[A]

    Hides errors in the context that expressed as Try.

  4. abstract def evalAlways[A](f: ⇒ A): F[A]

    Lifts a non-strict value into the deferrable context.

    Lifts a non-strict value into the deferrable context.

    Definition Classes
    Deferrable
  5. abstract def evalOnce[A](f: ⇒ A): F[A]

    Lifts a non-strict value into the deferrable context, but memoizes it for subsequent evaluations.

    Lifts a non-strict value into the deferrable context, but memoizes it for subsequent evaluations.

    Definition Classes
    Deferrable
  6. abstract def failed[A](fa: F[A]): F[Throwable]

    Turns the monadic context into one that exposes any errors that might have happened.

    Turns the monadic context into one that exposes any errors that might have happened.

    Definition Classes
    Recoverable
  7. abstract def flatMap[A, B](fa: F[A])(f: (A) ⇒ F[B]): F[B]

    Definition Classes
    Monad
  8. abstract def flatten[A](ffa: F[F[A]]): F[A]

    Definition Classes
    Monad
  9. abstract def map[A, B](fa: F[A])(f: (A) ⇒ B): F[B]

    Definition Classes
    Functor
  10. abstract def materialize[A](fa: F[A]): F[Try[A]]

    Exposes both successful results and potential errors by in the evaluable context.

  11. abstract def memoize[A](fa: F[A]): F[A]

    Given a deferrable, memoizes its result on the first evaluation, to be reused for subsequent evaluations.

    Given a deferrable, memoizes its result on the first evaluation, to be reused for subsequent evaluations.

    Definition Classes
    Deferrable
  12. abstract def now[A](a: A): F[A]

    Lifts a strict value into the deferrable context.

    Lifts a strict value into the deferrable context.

    Alias for Applicative.pure.

    Definition Classes
    Deferrable
  13. abstract def onErrorFallbackTo[A](fa: F[A], other: F[A]): F[A]

    Mirrors the source, but if an error happens, then fallback to other.

    Mirrors the source, but if an error happens, then fallback to other.

    Definition Classes
    Recoverable
  14. abstract def onErrorHandle[A](fa: F[A])(f: (Throwable) ⇒ A): F[A]

    Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.

    Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.

    See onErrorRecover for the alternative accepting a partial function.

    Definition Classes
    Recoverable
  15. abstract def onErrorHandleWith[A](fa: F[A])(f: (Throwable) ⇒ F[A]): F[A]

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.

    See onErrorRecoverWith for the alternative accepting a partial function.

    Definition Classes
    Recoverable
  16. abstract def onErrorRecover[A](fa: F[A])(pf: PartialFunction[Throwable, A]): F[A]

    Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.

    Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.

    See onErrorHandle for the alternative accepting a total function.

    Definition Classes
    Recoverable
  17. abstract def onErrorRecoverWith[A](fa: F[A])(pf: PartialFunction[Throwable, F[A]]): F[A]

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.

    See onErrorHandleWith for the alternative accepting a total function.

    Definition Classes
    Recoverable
  18. abstract def onErrorRestart[A](fa: F[A], maxRetries: Long): F[A]

    Creates a new instance that in case of error will retry executing the source again and again, until it succeeds, or until the maximum retries count is reached.

    Creates a new instance that in case of error will retry executing the source again and again, until it succeeds, or until the maximum retries count is reached.

    In case of continuous failure the total number of executions will be maxRetries + 1.

    Definition Classes
    Restartable
  19. abstract def onErrorRestartIf[A](fa: F[A])(p: (Throwable) ⇒ Boolean): F[A]

    Creates a new instance that in case of error will retry executing the source again and again, until it succeeds or until the given predicate is false.

    Creates a new instance that in case of error will retry executing the source again and again, until it succeeds or until the given predicate is false.

    In case of continuous failure the total number of executions will be maxRetries + 1.

    Definition Classes
    Restartable
  20. abstract def pure[A](a: A): F[A]

    Definition Classes
    Applicative
  21. abstract def raiseError[A](e: Throwable): F[A]

    Lifts an error into context.

    Lifts an error into context.

    Definition Classes
    Recoverable
  22. abstract def restartUntil[A](fa: F[A])(p: (A) ⇒ Boolean): F[A]

    Given a predicate function, keep retrying the source until the function returns true.

    Given a predicate function, keep retrying the source until the function returns true.

    Definition Classes
    Restartable
  23. abstract def task[A](fa: F[A]): Task[A]

    Converts this context into a Task.

  24. abstract def unit: F[Unit]

    The Unit lifted into the deferrable context.

    The Unit lifted into the deferrable context.

    Definition Classes
    Deferrable
  25. abstract def zipList[A](sources: Seq[F[A]]): F[Seq[A]]

    Definition Classes
    Zippable
  26. abstract def zipWith2[A1, A2, R](fa1: F[A1], fa2: F[A2])(f: (A1, A2) ⇒ R): F[R]

    Definition Classes
    Zippable

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def zip2[A1, A2](fa1: F[A1], fa2: F[A2]): F[(A1, A2)]

    Definition Classes
    Zippable
  23. def zip3[A1, A2, A3](fa1: F[A1], fa2: F[A2], fa3: F[A3]): F[(A1, A2, A3)]

    Definition Classes
    Zippable
  24. def zip4[A1, A2, A3, A4](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4]): F[(A1, A2, A3, A4)]

    Definition Classes
    Zippable
  25. def zip5[A1, A2, A3, A4, A5](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4], fa5: F[A5]): F[(A1, A2, A3, A4, A5)]

    Definition Classes
    Zippable
  26. def zip6[A1, A2, A3, A4, A5, A6](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4], fa5: F[A5], fa6: F[A6]): F[(A1, A2, A3, A4, A5, A6)]

    Definition Classes
    Zippable
  27. def zipWith3[A1, A2, A3, R](fa1: F[A1], fa2: F[A2], fa3: F[A3])(f: (A1, A2, A3) ⇒ R): F[R]

    Definition Classes
    Zippable
  28. def zipWith4[A1, A2, A3, A4, R](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4])(f: (A1, A2, A3, A4) ⇒ R): F[R]

    Definition Classes
    Zippable
  29. def zipWith5[A1, A2, A3, A4, A5, R](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4], fa5: F[A5])(f: (A1, A2, A3, A4, A5) ⇒ R): F[R]

    Definition Classes
    Zippable
  30. def zipWith6[A1, A2, A3, A4, A5, A6, R](fa1: F[A1], fa2: F[A2], fa3: F[A3], fa4: F[A4], fa5: F[A5], fa6: F[A6])(f: (A1, A2, A3, A4, A5, A6) ⇒ R): F[R]

    Definition Classes
    Zippable

Inherited from Restartable[F]

Inherited from Deferrable[F]

Inherited from Zippable[F]

Inherited from Recoverable[F, Throwable]

Inherited from Monad[F]

Inherited from Applicative[F]

Inherited from Functor[F]

Inherited from AnyRef

Inherited from Any

Ungrouped