observe method

void observe()

Track this cell as an argument of the current compute/watch function.

This is provided to increase readability in the case that the value of a cell is not used, but is required to trigger updates to the current cell.

Implementation

void observe() {
  ComputeArgumentsTracker.trackArgument(this);

  try {
    value;
  }
  catch (e) {
    // Prevent exception from propagating to caller
  }
}