Azure / AppConfiguration-JavaScriptProvider

The configuration provider for consuming data in Azure App Configuration from JavaScript applications like Node or browser apps.
https://github.com/Azure/AppConfiguration
MIT License
6 stars 1 forks source link

Add API tryRefresh #61

Closed Eskibear closed 1 week ago

Eskibear commented 2 months ago

Hold on, think about whether we need this new tryRefresh API if it only swallows all exception, as customers can simply write refresh().catch(/* do nothing */) on their own without breaking the application potentially. I notice in .NET provider, it basically catches all kinds of exceptions (but throws AggregationException in some cases), not sure in which cases we want to throw exceptions.