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

Change all messages to pass back their checksum. Switch to callback style #73015

Merged
merged 6 commits into from
Apr 14, 2024

Conversation

CyrusNajmabadi
Copy link
Member

Extracted from #73013 to help keep that PR simpler.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 14, 2024

// We flush after each item as that forms a reasonably sized chunk of data to want to then send over the
// pipe for the reader on the other side to read. This allows the item-writing to remain entirely
// synchronous without any blocking on async flushing, while also ensuring that we're not buffering the
// entire stream of data into the pipe before it gets sent to the other side.
WriteAsset(writer, serializer, context, asset, cancellationToken);
Copy link
Member Author

Choose a reason for hiding this comment

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

inliend this method.

@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review April 14, 2024 04:48
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner April 14, 2024 04:48

await RequestAssetsAsync(
Copy link
Member Author

Choose a reason for hiding this comment

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

inlined this method call.

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

@CyrusNajmabadi CyrusNajmabadi merged commit bfb6efb into dotnet:main Apr 14, 2024
27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the streamingSimplification branch April 14, 2024 05:43
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Apr 14, 2024
@CyrusNajmabadi
Copy link
Member Author

@jasonmalinowski For review when you get back.

@dibarbet dibarbet modified the milestones: Next, 17.11 P1 Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants