unwatched abstract method

void unwatched(
  1. ReactiveNode node
)

Handles cleanup when a node loses all subscribers.

Called when a dependency node no longer has any nodes depending on it. This is an opportunity to perform cleanup, stop computations, or release resources associated with the unwatched node.

Implementation

void unwatched(ReactiveNode node);