watch method

  1. @override
Stream<void> watch(
  1. String table
)
override

A broadcast stream that emits whenever any record in table changes.

Implementation

@override
Stream<void> watch(String table) => _watchers
    .putIfAbsent(table, () => StreamController<void>.broadcast())
    .stream;