monifu.reactive.observers

ConnectableObserver

final class ConnectableObserver[-T] extends Observer[T]

Represents an Observer that buffers emitted items until the call to connect() happens. Before connecting, one can also schedule items to be prepended to the stream by means of scheduleFirst or for the stream to end by means of schedulerError or scheduleCompleted.

Used in the BehaviorSubject implementation.

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

Instance Constructors

  1. new ConnectableObserver(underlying: Observer[T])(implicit s: Scheduler)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def connect(): Unit

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  16. def onComplete(): Unit

    Definition Classes
    ConnectableObserverObserver
  17. def onError(ex: Throwable): Unit

    Definition Classes
    ConnectableObserverObserver
  18. def onNext(elem: T): Future[Ack]

    Definition Classes
    ConnectableObserverObserver
  19. def scheduleComplete(): Unit

    Schedules a complete event to be emitted as soon as the call to connect happens, but after any items scheduled with scheduleFirst.

  20. def scheduleFirst(elems: T*): Unit

    Prepends the given items to the queue, items that will be emitted as soon as the call to connect happens.

    Prepends the given items to the queue, items that will be emitted as soon as the call to connect happens. These queued items will be emitted first, before any other events that are queued by the upstream's calls to onNext.

  21. def schedulerError(ex: Throwable): Unit

    Schedules an error to be emitted as soon as the call to connect happens, but after any items scheduled with scheduleFirst.

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. val underlying: Observer[T]

  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Observer[T]

Inherited from AnyRef

Inherited from Any

Ungrouped