Packages

class WriteBus[A] extends Observer[A]

Linear Supertypes
Observer[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteBus
  2. Observer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteBus()

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 addSource(sourceStream: EventStream[A])(implicit owner: Owner): Subscription

    Note: this source will be removed when the owner you provide says so.

    Note: this source will be removed when the owner you provide says so. To remove this source manually, call .kill() on the resulting Subscription.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def contracollect[B](pf: PartialFunction[B, A]): Observer[B]

    Like contramap but with collect semantics: not calling the original observer when pf is not defined

    Like contramap but with collect semantics: not calling the original observer when pf is not defined

    Definition Classes
    Observer
  8. def contracomposeWriter[B](operator: (EventStream[B]) => EventStream[A])(implicit owner: Owner): WriteBus[B]
  9. def contramap[B](project: (B) => A): Observer[B]

    Creates another Observer such that calling its onNext will call this observer's onNext with the value processed by the project function.

    Creates another Observer such that calling its onNext will call this observer's onNext with the value processed by the project function.

    This is useful when you need to pass down an Observer[A] to a child component which should not know anything about the type A, but both child and parent know about type B, and the parent knows how to translate B into A.

    project

    Note: guarded against exceptions

    Definition Classes
    Observer
  10. def contramapWriter[B](project: (B) => A)(implicit owner: Owner): WriteBus[B]

    Behaves similar to contramap, but gives you a WriteBus, not just an Observer

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def filter[B <: A](passes: (B) => Boolean): Observer[B]

    Creates another Observer such that calling its onNext will call this observer's onNext with the same value, but only if it passes the test.

    Creates another Observer such that calling its onNext will call this observer's onNext with the same value, but only if it passes the test.

    passes

    Note: guarded against exceptions

    Definition Classes
    Observer
  14. def filterWriter(passes: (A) => Boolean)(implicit owner: Owner): WriteBus[A]

    Behaves similar to filter, but gives you a WriteBus, not just an Observer

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def onError(nextError: Throwable): Unit

    Note: must not throw!

    Note: must not throw!

    Definition Classes
    WriteBusObserver
  22. def onNext(nextValue: A): Unit

    Note: must not throw!

    Note: must not throw!

    Definition Classes
    WriteBusObserver
  23. final def onTry(nextValue: Try[A]): Unit

    Note: must not throw!

    Note: must not throw!

    Definition Classes
    WriteBusObserver
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Observer[A]

Inherited from AnyRef

Inherited from Any

Ungrouped