Object/Trait

monix.reactive.observers

Subscriber

Related Docs: trait Subscriber | package observers

Permalink

object Subscriber extends Serializable

Source
Subscriber.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Subscriber
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class Extensions[T] extends AnyVal

    Permalink

    Extension methods for Subscriber.

  2. trait Sync[-T] extends Subscriber[T] with Observer.Sync[T]

    Permalink

    A Subscriber.Sync is a Subscriber whose onNext signal is synchronous (i.e.

    A Subscriber.Sync is a Subscriber whose onNext signal is synchronous (i.e. the upstream observable doesn't need to wait on a Future in order to decide whether to send the next event or not).

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Sync extends Serializable

    Permalink
  5. def apply[T](observer: Observer[T], scheduler: Scheduler): Subscriber[T]

    Permalink

    Subscriber builder

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def canceled[A](implicit s: Scheduler): Sync[A]

    Permalink

    Helper for building an empty subscriber that doesn't do anything, but that returns Stop on onNext.

  8. def clone(): AnyRef

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

    Permalink

    Builds an Subscriber that just logs incoming events.

  10. def empty[A](implicit s: Scheduler): Sync[A]

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromReactiveSubscriber[T](subscriber: org.reactivestreams.Subscriber[T], subscription: Cancelable)(implicit s: Scheduler): Subscriber[T]

    Permalink

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toReactiveSubscriber[T](source: Subscriber[T], bufferSize: Int): org.reactivestreams.Subscriber[T]

    Permalink

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

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

    bufferSize

    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

  23. def toReactiveSubscriber[T](subscriber: Subscriber[T]): org.reactivestreams.Subscriber[T]

    Permalink

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

  24. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped