Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RetryOptions::custom should take Arc<T> where T: RetryPolicy + Policy #1070

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

rylev
Copy link
Contributor

@rylev rylev commented Sep 2, 2022

Currently we require the user to pass ownership of their RetryPolicy only to then wrap it in an Arc. This isn't very helpful. Instead we can just access for an Arc which will let the user hold on to their RetryPolicy should they need to.

@rylev rylev requested a review from bmc-msft September 2, 2022 15:16
@bmc-msft bmc-msft merged commit 69ee7c5 into Azure:main Sep 2, 2022
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.

3 participants