notifySubscribers method
void
notifySubscribers(
- ReactiveNode node
Notifies the subscribers of node that its value changed outside a
propagation, as trigger does, and runs the queued effects.
Implementation
void notifySubscribers(alien_system.ReactiveNode node) {
final subs = node.subs;
if (subs == null) return;
propagate(subs);
// The subscribers must update: [node] itself is no longer dirty.
alien.shallowPropagate(subs);
if (batchDepth == 0) flush();
}