Whether or not this Reactor is currently alive.
Whether or not this Reactor is currently alive. Only Reactors which are alive will receive updates and propagate changes.
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.
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.
Binds the Reactor child
to this Emitter.
Binds the Reactor child
to this Emitter. Any pings by this
Emitter will cause child
to react.
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.
Pings this Reactor with some Emitters, causing it to react.
Forces this Rx to recalculate its value.
Returns the current value stored within this Rx as a Try
Manually unbinds the Reactor child
to this Emitter.
Manually unbinds the Reactor child
to this Emitter.
A Rx which flattens out an Rx[Future[T]] into a Rx[T]. If the first Future has not yet arrived, the Async contains its default value. Afterwards, it updates itself when and with whatever the Futures complete with.
The Async can be configured with a variety of Targets, to configure its handling of Futures which complete out of order (RunAlways, DiscardLate)