object Observer
- Alphabetic
- By Inheritance
- Observer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](onNext: (A) => Unit): Observer[A]
- onNext
Note: guarded against exceptions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def combine[A](observers: Observer[A]*): Observer[A]
Combine several observers into one.
- def empty[A]: Observer[A]
An observer that does nothing.
An observer that does nothing. Use it to ensure that an Observable is started
Used by SignalView and EventStreamView
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromTry[A](onTry: PartialFunction[Try[A], Unit], handleObserverErrors: Boolean = true): Observer[A]
- onTry
Note: guarded against exceptions. See docs for details.
- handleObserverErrors
If true, we will call this observer's onError(ObserverError(err)) if this observer throws while processing an incoming event, giving this observer one last chance to process its own error.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ignoreErrors[A](onNext: (A) => Unit): Observer[A]
- onNext
Note: guarded against exceptions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toDebuggableObserver[A](observer: Observer[A]): DebuggableObserver[A]
Provides debug* methods for observers
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withRecover[A](onNext: (A) => Unit, onError: PartialFunction[Throwable, Unit], handleObserverErrors: Boolean = true): Observer[A]
- onNext
Note: guarded against exceptions. See docs for details.
- onError
Note: guarded against exceptions. See docs for details.
- handleObserverErrors
If true, we will call this observer's onError(ObserverError(err)) if this observer throws while processing an incoming event, giving this observer one last chance to process its own error.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated