object TaskLike extends TaskLikeImplicits0 with Serializable
- Source
- TaskLike.scala
- Alphabetic
- By Inheritance
- TaskLike
- Serializable
- TaskLikeImplicits0
- TaskLikeImplicits1
- TaskLikeImplicits2
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class Deprecated[F[_]] extends AnyRef
Deprecated method, which happened on extending
FunctionK
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_]](implicit F: TaskLike[F]): TaskLike[F]
Returns the available instance for
F
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def fromAnyFutureViaLift[F[_]](implicit F: FutureLift[Task, F]): TaskLike[F]
Converts from any
Future
-like type, via monix.catnap.FutureLift.Converts from any
Future
-like type, via monix.catnap.FutureLift.- Definition Classes
- TaskLikeImplicits2
- implicit val fromCancelablePromise: TaskLike[CancelablePromise]
Converts monix.execution.CancelablePromise to Task.
- implicit val fromCoeval: TaskLike[Coeval]
Converts to
Task
from Coeval. - implicit def fromConcurrentEffect[F[_]](implicit F: ConcurrentEffect[F]): TaskLike[F]
Converts to
Task
from cats.effect.ConcurrentEffect.Converts to
Task
from cats.effect.ConcurrentEffect.- Definition Classes
- TaskLikeImplicits0
- implicit def fromEffect[F[_]](implicit F: Effect[F]): TaskLike[F]
Converts to
Task
from cats.effect.Async.Converts to
Task
from cats.effect.Async.- Definition Classes
- TaskLikeImplicits1
- implicit def fromEither[E <: Throwable]: TaskLike[[β$0$]Either[E, β$0$]]
Converts a Scala
Either
to a Task. - implicit val fromEval: TaskLike[Eval]
Converts to
Task
fromcats.effect.Eval
. - implicit val fromFunction0: TaskLike[Function0]
Converts
Function0
(parameter-less function, also called thunks) to Task. - implicit val fromFuture: TaskLike[Future]
Converts to
Task
from scala.concurrent.Future. - implicit val fromIO: TaskLike[IO]
Converts to
Task
from cats.effect.IO. - implicit val fromSyncIO: TaskLike[SyncIO]
Converts to
Task
from acats.effect.SyncIO
. - implicit val fromTask: TaskLike[Task]
Instance for
Task
, returning same reference. - implicit val fromTry: TaskLike[Try]
Converts
scala.util.Try
to Task. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
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.