syncFeature method

void syncFeature(
  1. String featureKey
)

Start background sync for a specific feature. Respects concurrency limits, priority ordering, and dependencies.

Implementation

void syncFeature(String featureKey) {
  if (_disposed) return;
  if (!_featureConfigs.containsKey(featureKey)) return;

  // Add to queue and process
  if (!_runningSync.contains(featureKey) &&
      !_completedSync.contains(featureKey)) {
    _pendingQueue.add(featureKey);
  }

  _processPending();
}