apple / swift-async-algorithms

Async Algorithms for Swift
Apache License 2.0
2.95k stars 147 forks source link

Implement AsyncCombineLatestMultipleSequence #322

Open clive819 opened 2 months ago

clive819 commented 2 months ago

Allow combining multiple async sequences.

The only limitation for now is that the element from the sequences must be the same type. We can probably remove that limitation by using parameter pack (introduced in Swift 5.9) and pack iteration (introduced in Swift 6.0) once Swift 6.0 is available.