watch method

  1. @override
T watch()
inherited

Implementation

@override
T watch() {
  final calling = _calling;

  if (calling == null) {
    throw 'Frb.watch() called without a _Calc';
  }

  if (_downstream.add(calling)) {
    calling._upstream.add(this);
  }
  return value;
}