unsubscribeAllFromRemoteChanges method

Future<void> unsubscribeAllFromRemoteChanges()

Unsubscribes all managers from remote change events.

This method calls unsubscribeFromRemoteChanges on all registered managers, which can be useful for reducing network activity or preventing unnecessary processing during certain application states.

Call resubscribeAllToRemoteChanges to re-enable remote change listening.

Note: This only affects remote change subscriptions and does not impact local change processing or synchronization operations.

Implementation

Future<void> unsubscribeAllFromRemoteChanges() async {
  await Future.wait(
    _managers.allManagers.map((manager) => manager.unsubscribeFromRemoteChanges()),
  );
}