rx

Obs

class Obs extends Reactor[Any]

An Obs is something that produces side-effects when the source Rx changes. An Obs is always run right at the end of every propagation wave, ensuring it is only called once per wave (in contrast with Rxs, which may update multiple times before settling).

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

Instance Constructors

  1. new Obs(source: Emitter[Any], callback: () ⇒ Unit, name: String = "", skipInitial: Boolean = false)

    callback

    a callback to run when this Obs is pinged

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. var active: Boolean

    A flag variable which can be turned off to prevent the Obs from triggering its callback.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def debug(s: String): Unit

    Attributes
    protected[this]
    Definition Classes
    Node
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  14. def getParents: Seq[Emitter[Any]]

    Returns the list of Emitters which this Reactor is currently bound to.

    Returns the list of Emitters which this Reactor is currently bound to.

    Definition Classes
    ObsReactor
  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. def level: Long

    Attributes
    protected[rx]
    Definition Classes
    Obs → Node
  18. val name: String

    The name of this object, generally passed in as a String when it is created.

    The name of this object, generally passed in as a String when it is created. This can be inspected later.

    Definition Classes
    Obs → Node
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def ping[P](incoming: Seq[Emitter[Any]])(implicit arg0: Propagator[P]): Nil.type

    Pings this Reactor with some Emitters, causing it to react.

    Pings this Reactor with some Emitters, causing it to react.

    Definition Classes
    ObsReactor
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def trigger(): Nil.type

    Manually trigger this observer, causing its callback to run.

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Reactor[Any]

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped