object CoevalLike extends Serializable
- Source
- CoevalLike.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CoevalLike
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit class Deprecated[F[_]] extends AnyRef
Deprecated method, which happened on extending
FunctionK.
Value Members
- def apply[F[_]](implicit F: CoevalLike[F]): CoevalLike[F]
Returns the available instance for
F. - implicit val fromCoeval: CoevalLike[Coeval]
Instance for
Coeval, returning same reference. - implicit def fromEither[E <: Throwable]: CoevalLike[[β$0$]Either[E, β$0$]]
Converts a Scala
Eitherto a Coeval. - implicit val fromEval: CoevalLike[Eval]
Converts a
cats.Evalto a Coeval. - implicit val fromFunction0: CoevalLike[Function0]
Converts
Function0(parameter-less function, also called thunks) to Coeval. - implicit val fromSyncIO: CoevalLike[SyncIO]
Converts a
cats.effect.SyncIOto a Coeval. - implicit val fromTry: CoevalLike[Try]
Converts a
scala.util.Tryto a Coeval.

This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomictypes, as alternative tojava.util.concurrent.atomicmonix.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
Observablepattern:Observableimplementationsmonix.tail exposes Iterant for purely functional pull based streaming:
BatchandBatchCursor, the alternatives to Scala'sIterableandIteratorrespectively 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.