sindresorhus/DockProgress

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Accept an `AsyncSequence` #14

sindresorhus posted onGitHub

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.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests