monix.reactive

Observer

object Observer extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Observer
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class Extensions[A] extends AnyVal

    Extension methods for Observer.

  2. trait Sync[-A] extends Observer[A]

    An Observer.Sync is an Observer that signals demand to upstream synchronously (i.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def dump[A](prefix: String, out: PrintStream = System.out): Sync[A]

    Builds an Observer that just logs incoming events.

  9. def empty[A](implicit r: UncaughtExceptionReporter): Sync[A]

    Helper for building an empty observer that doesn't do anything, besides logging errors in case they happen.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def feed[A](target: Observer[A], subscription: BooleanCancelable, iterator: Iterator[A])(implicit s: Scheduler): Future[Ack]

    Feeds the Observer instance with elements from the given Iterator, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    Feeds the Observer instance with elements from the given Iterator, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    target

    is the observer that will get the events

    subscription

    is a BooleanCancelable that will be queried for its cancellation status, but only on asynchronous boundaries, and when it is seen as being isCanceled, streaming is stopped

    iterator

    is the collection of items to push downstream

  13. def feed[A](target: Observer[A], iterator: Iterator[A])(implicit s: Scheduler): Future[Ack]

    Feeds the Observer instance with elements from the given Iterator, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    Feeds the Observer instance with elements from the given Iterator, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    target

    is the observer that will get the events

    iterator

    is the collection of items to push downstream

  14. def feed[A](target: Observer[A], subscription: BooleanCancelable, iterable: Iterable[A])(implicit s: Scheduler): Future[Ack]

    Feeds the Observer instance with elements from the given collection, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    Feeds the Observer instance with elements from the given collection, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    target

    is the observer that will get the events

    subscription

    is a BooleanCancelable that will be queried for its cancellation status, but only on asynchronous boundaries, and when it is seen as being isCanceled, streaming is stopped

    iterable

    is the collection of items to push downstream

  15. def feed[A](target: Observer[A], iterable: Iterable[A])(implicit s: Scheduler): Future[Ack]

    Feeds the Observer instance with elements from the given collection, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    Feeds the Observer instance with elements from the given collection, respecting the contract and returning a Future[Ack] with the last acknowledgement given after the last emitted element.

    target

    is the observer that will get the events

    iterable

    is the collection of items to push downstream

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromReactiveSubscriber[A](subscriber: Subscriber[A], subscription: Cancelable)(implicit s: Scheduler): Observer[A]

    Given an org.reactivestreams.Subscriber as defined by the Reactive Streams specification, it builds an Observer instance compliant with the Monix Rx implementation.

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def stopped[A]: Sync[A]

    Helper for building an empty observer that continuously returns Stop in onNext and that reports errors pushed with onError.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toReactiveSubscriber[A](observer: Observer[A], requestCount: Int)(implicit s: Scheduler): Subscriber[A]

    Transforms the source Observer into a org.reactivestreams.Subscriber instance as defined by the Reactive Streams specification.

    Transforms the source Observer into a org.reactivestreams.Subscriber instance as defined by the Reactive Streams specification.

    requestCount

    a strictly positive number, representing the size of the buffer used and the number of elements requested on each cycle when communicating demand, compliant with the reactive streams specification

  27. def toReactiveSubscriber[A](observer: Observer[A])(implicit s: Scheduler): Subscriber[A]

    Transforms the source Observer into a org.reactivestreams.Subscriber instance as defined by the Reactive Streams specification.

  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped