startAutoSync method

void startAutoSync(
  1. String userId
)

Starts automatic periodic synchronization for the specified user across all managers.

Uses the auto-sync interval from the configuration. Automatically stops any existing auto-sync for the same user across all managers.

Implementation

void startAutoSync(String userId) {
  logger.info('Starting auto-sync for user $userId across all managers...');
  for (final manager in _managers.allManagers) {
    manager.startAutoSync(userId);
  }
}