Packages

p

monix

reactive

package reactive

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package compression
  2. package instances
  3. package observables
  4. package observers
  5. package subjects

Type Members

  1. abstract class Consumer[-In, +R] extends (Observable[In]) => Task[R] with Serializable

    The Consumer is a specification of how to consume an observable.

    The Consumer is a specification of how to consume an observable.

    It is a factory of subscribers with a completion callback attached, being effectively a way to transform observables into tasks for less error prone consuming of streams.

  2. sealed abstract class MulticastStrategy[+A] extends Serializable

    The MulticastStrategy specifies the strategy for building data-sources that are shared between multiple subscribers.

    The MulticastStrategy specifies the strategy for building data-sources that are shared between multiple subscribers.

    By default observables tend to be cold.

  3. sealed abstract class Notification[+A] extends Serializable

    Used by Observable.materialize.

  4. abstract class Observable[+A] extends Serializable

    The Observable type that implements the Reactive Pattern.

    The Observable type that implements the Reactive Pattern.

    Provides methods of subscribing to the Observable and operators for combining observable sources, filtering, modifying, throttling, buffering, error handling and others.

    See the available documentation at: https://monix.io

  5. trait ObservableLike[F[_]] extends ~>[F, Observable]

    A lawless type class that provides conversions to Observable.

    A lawless type class that provides conversions to Observable.

    Sample:

    // Conversion from cats.Eval
    import cats.Eval
    
    val source0 = Eval.always(1 + 1)
    val task0 = ObservableLike[Eval].apply(source0)
    
    // Conversion from Future
    import scala.concurrent.Future
    
    val source1 = Future.successful(1 + 1)
    val task1 = ObservableLike[Future].apply(source1)
    
    // Conversion from IO
    import cats.effect.IO
    
    val source2 = IO(1 + 1)
    val task2 = ObservableLike[IO].apply(source2)

    See Observable.from

    Annotations
    @implicitNotFound("""Cannot find implicit value for ObservableLike[${F}].
    Building this implicit value might depend on having an implicit
    s.c.ExecutionContext in scope, a Scheduler or some equivalent type."""
    )
  6. trait Observer[-A] extends Serializable

    The Observer from the Rx pattern is the trio of callbacks that get subscribed to an Observable for receiving events.

    The Observer from the Rx pattern is the trio of callbacks that get subscribed to an Observable for receiving events.

    The events received must follow the Rx grammar, which is: onNext * (onComplete | onError)?

    That means an Observer can receive zero or multiple events, the stream ending either in one or zero onComplete or onError (just one, not both), and after onComplete or onError, a well behaved Observable implementation shouldn't send any more onNext events.

  7. sealed abstract class OverflowStrategy[+A] extends Serializable

    Represents the buffering overflowStrategy chosen for actions that need buffering, instructing the pipeline what to do when the buffer is full.

    Represents the buffering overflowStrategy chosen for actions that need buffering, instructing the pipeline what to do when the buffer is full.

    For the available policies, see:

    - Unbounded - Fail - BackPressure

    Used in BufferedSubscriber to implement buffering when concurrent actions are needed, such as in Channels or in Observable.merge.

  8. abstract class Pipe[I, +O] extends Serializable

    Represents a factory for an input/output channel for broadcasting input to multiple subscribers.

Value Members

  1. object Consumer extends Serializable

    The companion object of Consumer, defines consumer builders.

  2. object MulticastStrategy extends Serializable

    The MulticastStrategy enumerated.

  3. object Notification extends Serializable
  4. object Observable extends ObservableDeprecatedBuilders with Serializable

    Observable builders.

  5. object ObservableLike extends ObservableLikeImplicits0 with Serializable
  6. object Observer extends Serializable

  7. object OverflowStrategy extends Serializable
  8. object Pipe extends Serializable

Ungrouped