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

Make ResponseExceptionExtensions, RetriableStream shared source #7913

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

pakrym
Copy link
Contributor

@pakrym pakrym commented Oct 3, 2019

No description provided.

@@ -30,16 +31,18 @@ public static RequestFailedException CreateRequestFailedException(this Response

public static RequestFailedException CreateRequestFailedException(this Response response, string message)
{
return CreateRequestFailedExceptionAsync(message, response, false).EnsureCompleted();
ValueTask<RequestFailedException> messageTask = CreateRequestFailedExceptionAsync(message, response, false);
Debug.Assert(messageTask.IsCompleted);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentional?

Copy link
Contributor Author

@pakrym pakrym Oct 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, EnsureCompleted is not in a shared source yet.

@pakrym pakrym merged commit 681e160 into Azure:master Oct 3, 2019
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.

2 participants