watch method

Stream<List<R>> watch(
  1. {bool fireImmediately = false}

Create a watcher that yields the results of this query whenever its results have (potentially) changed.

If you don't always use the results, consider using watchLazy and rerun the query manually. If fireImmediately is true, the results will be sent to the consumer immediately.


Stream<List<R>> watch({bool fireImmediately = false}) =>
    build().watch(fireImmediately: fireImmediately);