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

For Void element AsyncSequence types it might be nice to have a waitForAll() async rethrows similar to TaskGroup #265

Open
phausler opened this issue May 22, 2023 · 1 comment · May be fixed by #319
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@phausler
Copy link
Member

extension AsyncSequence where Element == Void {
    func waitForAll() async rethrows {
        for try await _ in self { }
    }
}
@phausler phausler added enhancement New feature or request good first issue Good for newcomers labels May 22, 2023
@EngOmarElsayed
Copy link

Hey @phausler I wanted to work on this issue but can you explain to me in more detail what exactly is the problem to fully understand what to do.

@b1ackturtle b1ackturtle linked a pull request Jun 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants