Packages

  • package root
    Definition Classes
    root
  • package rx
    Definition Classes
    root
  • package lang
    Definition Classes
    rx
  • package scala

    This package contains all classes that RxScala users need.

    This package contains all classes that RxScala users need.

    It basically mirrors the structure of package rx, but some changes were made to make it more Scala-idiomatic.

    Definition Classes
    lang
  • object Notification

    Provides pattern matching support and constructors for Notifications.

    Provides pattern matching support and constructors for Notifications.

    Example:

    import Notification._
    Observable.just(1, 2, 3).materialize.subscribe(n => n match {
      case OnNext(v)     => println("Got value " + v)
      case OnCompleted => println("Completed")
      case OnError(err)  => println("Error: " + err.getMessage)
    })
    Definition Classes
    scala
  • OnCompleted
  • OnError
  • OnNext

class OnNext[+T] extends Notification[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OnNext
  2. Notification
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def accept(observer: Observer[T]): Unit

    Invokes the observer corresponding to the notification

    Invokes the observer corresponding to the notification

    observer

    The observer that to observe the notification

    Definition Classes
    Notification
  5. def accept[R](onNext: (T) ⇒ R, onError: (Throwable) ⇒ R, onCompleted: () ⇒ R): R

    Invokes the function corresponding to the notification.

    Invokes the function corresponding to the notification.

    onNext

    The function to invoke for an rx.lang.scala.Notification.OnNext notification.

    onError

    The function to invoke for an rx.lang.scala.Notification.OnError notification.

    onCompleted

    The function to invoke for an rx.lang.scala.Notification.OnCompleted notification.

    Definition Classes
    Notification
  6. def apply(observer: Observer[T]): Unit
    Definition Classes
    Notification
  7. def apply[R](onNext: (T) ⇒ R, onError: (Throwable) ⇒ R, onCompleted: () ⇒ R): R
    Definition Classes
    Notification
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val asJavaNotification: rx.Notification[_ <: T]
    Definition Classes
    OnNextNotification
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(that: Any): Boolean
    Definition Classes
    Notification → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[U](f: (T) ⇒ Notification[U]): Notification[U]
    Definition Classes
    Notification
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    Notification → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map[U](f: (T) ⇒ U): Notification[U]
    Definition Classes
    Notification
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    OnNext → AnyRef → Any
  24. def value: 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( ... ) @native()

Inherited from Notification[T]

Inherited from AnyRef

Inherited from Any

Ungrouped