Skip to content

Add support for CancellationToken during refresh operations - #281

Merged
Avani Gupta (avanigupta) merged 6 commits into
mainfrom
avanigupta/cancellationtoken
Oct 19, 2021
Merged

Add support for CancellationToken during refresh operations#281
Avani Gupta (avanigupta) merged 6 commits into
mainfrom
avanigupta/cancellationtoken

Conversation

@avanigupta

Copy link
Copy Markdown
Member

This PR adds a cancellation token to RefreshAsync and TryRefreshAsync methods.
Since the IConfigurationRefresher interface has changed, this is a breaking change. However, users will still be able to call RefreshAsync() and TryRefreshAsync() without any parameter.

Fix #275

@avanigupta
Avani Gupta (avanigupta) deleted the avanigupta/cancellationtoken branch October 19, 2021 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CancellationToken support in TryRefreshAsync

2 participants