To make it easier for customers to trigger configuration refresh without worrying about crashing the app due to various transient errors, propose to add the API below in IConfigurationRefresher.
Details
The TryRefresh will not throw on Transient or any FailedRequestException, regardless of the status code (even 401, 403)
The existing API Refresh will not catch anything.
More discussion
Propose to follow the convention and rename APIs to
Task RefreshAsync();
Task<bool> TryRefreshAsync();
To make it easier for customers to trigger configuration refresh without worrying about crashing the app due to various transient errors, propose to add the API below in
IConfigurationRefresher.Details
The
TryRefreshwill not throw on Transient or any FailedRequestException, regardless of the status code (even 401, 403)The existing API
Refreshwill not catch anything.More discussion
Propose to follow the convention and rename APIs to