peek property

  1. @override
T peek
override

The current value but ignore check depend on in Computed context

Implementation

@override
T get peek {
  _rebuild();
  if (_rebuildCount == 0) {
    throw 'The computation function didn\'t run, maybe pausing';
  }
  if (_running) {
    throw 'The computation function is running. You can not access value';
  }
  return _value;
}