Trait

io.scalajs.npm.rx

Notification

Related Doc: package rx

Permalink

trait Notification extends Object

Represents a notification to an observer.

Annotations
@RawJSType() @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Notification
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def accept(observer: Observer = null, onNext: Function = null, onError: Function = null, onCompleted: Function = null): Unit

    Permalink

    Invokes the delegate corresponding to the notification or the observer's method corresponding to the notification and returns the produced result or the individual functions given.

    Invokes the delegate corresponding to the notification or the observer's method corresponding to the notification and returns the produced result or the individual functions given.

    observer

    (Observer): Observer to invoke the notification on.

    onNext

    (Function): Function to invoke for an onNext notification.

    onError

    (Function): Function to invoke for an onError notification.

    onCompleted

    (Function): Function to invoke for an onCompleted notification.

    returns

    (Any): Result produced by the observation.

    Example:
    1. Rx.Notification.prototype.accept(observer | onNext, onError, onCompleted)

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def error: Any

    Permalink

    Gets the exception from the OnError notification.

    Gets the exception from the OnError notification.

    returns

    (Any): The Error from the onError notification.

  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  13. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  15. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  16. def kind: String

    Permalink

    Gets the kind from the notification which denotes 'N' for OnNext, 'E' for OnError and 'C' for OnCompleted.

    Gets the kind from the notification which denotes 'N' for OnNext, 'E' for OnError and 'C' for OnCompleted.

    returns

    (String): The kind from the notification which denotes 'N' for OnNext, 'E' for OnError and 'C' for OnCompleted.

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  22. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  23. def toObservable[T](scheduler: Scheduler = null): Observable[T]

    Permalink

    Returns an observable sequence with a single notification.

    Returns an observable sequence with a single notification.

    scheduler

    [scheduler = Rx.Scheduler.immediate] (Scheduler): Scheduler to send out the notification calls on.

    returns

    (Observable): The observable sequence that surfaces the behavior of the notification upon subscription.

    Example:
    1. Rx.Notification.prototype.toObservable([scheduler])

  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def value: Any

    Permalink

    Gets the value from the onNext notification.

    Gets the value from the onNext notification.

    returns

    (Any): The value from the onNext notification.

  26. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  27. final def wait(): Unit

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

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

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped