in src/AzureAppConfigurationImpl.ts [315:329]
async refresh(): Promise<void> {
if (!this.#refreshEnabled && !this.#featureFlagRefreshEnabled) {
throw new InvalidOperationError("Refresh is not enabled for key-values or feature flags.");
}
if (this.#refreshInProgress) {
return;
}
this.#refreshInProgress = true;
try {
await this.#refreshTasks();
} finally {
this.#refreshInProgress = false;
}
}