pub fn spawn_provider_sync( section: &ProviderSection, tx: Sender<AppEvent>, cancel: Arc<AtomicBool>, )