Packages

c

monix.eval.Coeval

DeprecatedExtensions

implicit final class DeprecatedExtensions[+A] extends AnyVal with CoevalDeprecatedExtensions[A]

Deprecated operations, described as extension methods.

Source
Coeval.scala
Linear Supertypes
CoevalDeprecatedExtensions[A], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeprecatedExtensions
  2. CoevalDeprecatedExtensions
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DeprecatedExtensions(self: Coeval[A])

Value Members

  1. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  2. val self: Coeval[A]
    Definition Classes
    DeprecatedExtensions → CoevalDeprecatedExtensions

Deprecated Value Members

  1. final def task: Task[A]

    DEPRECATED — Converts the source Coeval into a Task.

    DEPRECATED — Converts the source Coeval into a Task.

    Please switch to Coeval.to:

    import monix.eval._
    
    val value = Coeval { 1 + 1 }
    
    val result: Task[Int] = value.to[Task]
    Definition Classes
    CoevalDeprecatedExtensions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use value.to[Task]

  2. final def toEval: Eval[A]

    DEPRECATED — Converts the source Coeval into a cats.Eval.

    DEPRECATED — Converts the source Coeval into a cats.Eval.

    Please switch to Coeval.to:

    import cats.Eval
    import monix.eval._
    
    val value = Coeval { 1 + 1 }
    
    val result: Eval[Int] = value.to[Eval]
    Definition Classes
    CoevalDeprecatedExtensions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use value.to[Eval]

  3. final def toIO: IO[A]

    DEPRECATED — Converts the source Coeval into a cats.effect.IO.

    DEPRECATED — Converts the source Coeval into a cats.effect.IO.

    Please switch to Coeval.to:

    import cats.effect.IO
    import monix.eval._
    
    val value = Coeval { 1 + 1 }
    
    val result: IO[Int] = value.to[IO]
    Definition Classes
    CoevalDeprecatedExtensions
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use value.to[IO]