Skip to content

Accept an AsyncSequence #14

Open
Open
@sindresorhus

Description

@sindresorhus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions