watchState method

StreamState watchState()

Reactively watches the current StreamState.

Implementation

StreamState watchState() {
  throwIfDisposed('watch state');
  return _state.watch();
}