implicit final class DeprecatedExtensions[+A] extends AnyVal with CoevalDeprecatedExtensions[A]
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeprecatedExtensions
- CoevalDeprecatedExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: Coeval[A]
- Definition Classes
- DeprecatedExtensions → CoevalDeprecatedExtensions
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- final def task: Task[A]
- 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]
- 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]
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.catnap exposes pure abstractions built on top of the Cats-Effect type classes:
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.tail exposes Iterant for purely functional pull based streaming:
Batch
andBatchCursor
, the alternatives to Scala'sIterable
andIterator
respectively that we are using within Iterant's encodingYou can control evaluation with type you choose - be it Task, Coeval, cats.effect.IO or your own as long as you provide correct cats-effect or cats typeclass instance.