swift-async-algorithms
swift-async-algorithms copied to clipboard
For `Void` element AsyncSequence types it might be nice to have a `waitForAll() async rethrows` similar to TaskGroup
extension AsyncSequence where Element == Void {
func waitForAll() async rethrows {
for try await _ in self { }
}
}
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.