monix.types

Deferrable

trait Deferrable[F[_]] extends Monad[F] with Recoverable[F, Throwable] with Zippable[F] with CoflatMap[F]

A type-class describing computations that can be deferred.

Linear Supertypes
CoflatMap[F], Zippable[F], Recoverable[F, Throwable], Monad[F], Applicative[F], Functor[F], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Deferrable
  2. CoflatMap
  3. Zippable
  4. Recoverable
  5. Monad
  6. Applicative
  7. Functor
  8. AnyRef
  9. 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 coflatMap[A, B](fa: F[A])(f: (F[A]) ⇒ B): F[B]

    Definition Classes
    CoflatMap
  3. abstract def defer[A](fa: ⇒ F[A]): F[A]

    Builds deferrable instances from the given factory.

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

    Lifts a non-strict value into the deferrable context.

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

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

  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 memoize[A](fa: F[A]): F[A]

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

  11. 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.

  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. abstract def pure[A](a: A): F[A]

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

    Lifts an error into context.

    Lifts an error into context.

    Definition Classes
    Recoverable
  19. abstract def unit: F[Unit]

    The Unit lifted into the deferrable context.

  20. abstract def zipList[A](sources: Seq[F[A]]): F[Seq[A]]

    Definition Classes
    Zippable
  21. 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. def coflatten[A](fa: F[A]): F[F[A]]

    Definition Classes
    CoflatMap
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

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

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

    Definition Classes
    Zippable
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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 CoflatMap[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