Whether or not this Reactor is currently alive.
All parents, parent's parents, etc.
All parents, parent's parents, etc. recursively.
Returns current value of this Rx.
Returns the list of Reactors which are currently bound to this Emitter.
All children, children's children, etc.
Stops this Reactor from listening for updates.
Stops this Reactor from listening for updates. Obss would stop triggering, Rxs would stop updating and propagating. In Scala-JS, this is necessary to allow the Reactor to be garbage collected, while in Scala-JVM this is unnecessary because of weak references.
.kill()
is irreversible.
descndents
descendants
ancestors
Shorthand to call .kill()
on this Rx as well as any of its
A number giving an approximate ordering of the current Node in the dataflow graph it is part of.
A number giving an approximate ordering of the current Node in the dataflow graph it is part of.
Vars have it set to 0 and Obs have it set to Long.MaxValue because they're always the root and leaves of the graph. For other Rxs it depends on their location within the dataflow graph, and can change over time if the shape of the graph is changing.
The name of this object, generally passed in as a String
when it is
created.
Identical to apply()
, except that it does not create a dependency if
called within the body of another Rx
The list of Emitters which this Reactor is currently bound to.
Forces this Rx to recalculate its value.
Returns the current value stored within this Rx as a Try
An
Rx
whose dependencies are set dynamically at runtime whencalc
is evaluated, and may change again any time it gets re-evaluated