Skip to content

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

Open
@phausler

Description

@phausler
extension AsyncSequence where Element == Void {
    func waitForAll() async rethrows {
        for try await _ in self { }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions