Skip to content

Refactor code for ReadAll() #15140

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

Open
bajajneha27 opened this issue May 13, 2025 · 0 comments
Open

Refactor code for ReadAll() #15140

bajajneha27 opened this issue May 13, 2025 · 0 comments
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@bajajneha27
Copy link
Contributor

What component of google-cloud-cpp is this feature request for? For
GCS

Is your feature request related to a problem? Please describe. A clear and
We need a function to convert a storage_experimental::AsyncReader into a single future<StatusOr>. The payload should be the concatenation of all the payloads returned (asynchronously) by AsyncReader.
We already have something that is close:

https://github.com/googleapis/cpp-storage-prelaunch/blob/54274c0fb947883b0dce63584dee8481d5c26cc0/google/cloud/storage/internal/async/connection_impl.cc#L212-L218

Maybe we just need to add the function to a public header, add some documentation and so forth.

@bajajneha27 bajajneha27 added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: storage Issues related to the Cloud Storage API. labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy