ReactiveSystem class
Methods
-
endBatch()
→ void
-
Like
alien.endBatch(), but runs this class's flush, so an effect
that throws does not drop the effects queued after it.
-
flush()
→ void
-
Runs every queued effect, then rethrows the first error, if any.
-
getComputedValue<T>(_AlienComputed<T> computed)
→ T
-
-
getSignalValue<T>(_AlienSignal<T> signal)
→ Option<T>
-
-
link(ReactiveNode dep, ReactiveNode sub)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifySubscribers(ReactiveNode node)
→ void
-
Notifies the subscribers of
node that its value changed outside a
propagation, as trigger does, and runs the queued effects.
-
propagate(Link link)
→ void
-
-
runEffect(ReactiveNode effect)
→ void
-
-
setCurrentSub(ReactiveNode? sub)
→ ReactiveNode?
-
-
setSignalValue<T>(_AlienSignal<T> signal, Option<T> value)
→ void
-
-
startBatch()
→ void
-
-
stopEffect(ReactiveNode effect)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited