object ObservableLike extends ObservableLikeImplicits0 with Serializable
- Source
- ObservableLike.scala
- Alphabetic
- By Inheritance
- ObservableLike
- Serializable
- ObservableLikeImplicits0
- 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: ObservableLike[F]): ObservableLike[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 val fromCoeval: ObservableLike[Coeval]
Converts to
Observable
from monix.eval.Coeval. - implicit def fromEither[E <: Throwable]: ObservableLike[[β$0$]Either[E, β$0$]]
Converts a Scala
Either
to a Observable. - implicit val fromEval: ObservableLike[Eval]
Converts to
Observable
fromcats.effect.Eval
. - implicit val fromFunction0: ObservableLike[Function0]
Converts
Function0
(parameter-less function, also called thunks) to Observable. - implicit val fromFuture: ObservableLike[Future]
Converts to
Observable
from scala.concurrent.Future. - implicit val fromIO: ObservableLike[IO]
Converts to
Observable
from cats.effect.IO. - implicit def fromIterable[F[X] <: Iterable[X]]: ObservableLike[F]
Converts a Scala
Iterator
to a Observable. - implicit val fromObservable: ObservableLike[Observable]
Instance for
Observable
, returning same reference. - implicit val fromReactivePublisher: ObservableLike[Publisher]
Converts to
Observable
from org.reactivestreams.Publisher.Converts to
Observable
from org.reactivestreams.Publisher.- Definition Classes
- ObservableLikeImplicits0
- implicit val fromSyncIO: ObservableLike[SyncIO]
Converts to
Observable
from acats.effect.SyncIO
. - implicit val fromTask: ObservableLike[Task]
Converts to
Observable
from monix.eval.Task. - implicit def fromTaskLike[F[_]](implicit F: TaskLike[F]): ObservableLike[F]
Converts to
Observable
from cats.effect.ConcurrentEffect.Converts to
Observable
from cats.effect.ConcurrentEffect.- Definition Classes
- ObservableLikeImplicits0
- implicit val fromTry: ObservableLike[Try]
Converts a
scala.util.Try
to a Observable. - 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.