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
Accept an AsyncSequence
#14
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just like we do with
Progress
.When macOS 12 is out.
https://github.com/apple/swift-evolution/blob/main/proposals/0314-async-stream.md
I'm not yet sure what to call the API. I think we can just wait and see what kind of naming Apple decides to use for properties.
Actually, this is problematic as an
AsyncSequence
can only be consumed once. We'll have to wait for multi-consuming async sequences.The text was updated successfully, but these errors were encountered: