potentiallyChanged method

  1. @override
void potentiallyChanged()
override

The data change notification workflow starts by the electric database clients (or the user manually) calling potentiallyChanged whenever a write or transaction has been issued that may have changed the contents of either the primary or any of the attached databases.

Implementation

@override
void potentiallyChanged() {
  final dbNames = _getDbNames();

  dbNames.forEach(_emitPotentialChange);
}