Skip to content

Conversation

@SarahFrench
Copy link
Collaborator

Related Issue

N/A

Description

These changes propose how to allow the grpc error to be returned to the calling code that uses the iterator being created here.

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

No.


type WriteStateBytesStream struct {
Chunks iter.Seq[WriteStateByteChunk]
Chunks iter.Seq2[WriteStateByteChunk, error]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: Refactor to use struct that contains chunk and error as fields, versus using Seq2

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.

1 participant