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

Consideration: Use AsyncSequence<ByteBuffer> to represent a request body #381

Open
Joannis opened this issue Feb 15, 2024 · 1 comment
Open

Comments

@Joannis
Copy link
Contributor

Joannis commented Feb 15, 2024

In Swift 6 we can remove AnyAsyncSequence. https://github.com/apple/swift-evolution/blob/main/proposals/0421-generalize-async-sequence.md

@adam-fowler
Copy link
Member

I think I'll always have a wrapper type to hide the implementation but moving to any AsyncSequence<ByteBuffer> when it becomes available would be good.

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

No branches or pull requests

2 participants