22
33* Proposal: [ SAA-0006] ( https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0006-combineLatest.md )
44* Authors: [ Philippe Hausler] ( https://github.com/phausler )
5- * Status: ** Implemented **
5+ * Status: ** Accepted **
66
77
8- * Implementation: [[ Source] ( https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncCombineLatest2Sequence.swift ) , [ Source] ( https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncCombineLatest3Sequence.swift ) |
8+ * Implementation: [[ Source] ( https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/CombineLatest/ AsyncCombineLatest2Sequence.swift ) , [ Source] ( https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/CombineLatest /AsyncCombineLatest3Sequence.swift ) |
99[ Tests] ( https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift )]
1010
1111* Decision Notes:
@@ -47,8 +47,7 @@ public func combineLatest<Base1: AsyncSequence, Base2: AsyncSequence, Base3: Asy
4747public struct AsyncCombineLatest2Sequence <Base1 : AsyncSequence , Base2 : AsyncSequence >: Sendable
4848 where
4949 Base1: Sendable , Base2: Sendable ,
50- Base1.Element : Sendable , Base2.Element : Sendable ,
51- Base1.AsyncIterator: Sendable , Base2.AsyncIterator: Sendable {
50+ Base1.Element : Sendable , Base2.Element : Sendable {
5251 public typealias Element = (Base1.Element , Base2.Element )
5352
5453 public struct Iterator : AsyncIteratorProtocol {
@@ -61,8 +60,7 @@ public struct AsyncCombineLatest2Sequence<Base1: AsyncSequence, Base2: AsyncSequ
6160public struct AsyncCombineLatest3Sequence <Base1 : AsyncSequence , Base2 : AsyncSequence , Base3 : AsyncSequence >: Sendable
6261 where
6362 Base1: Sendable , Base2: Sendable , Base3: Sendable
64- Base1.Element: Sendable , Base2 .Element : Sendable , Base3 .Element : Sendable
65- Base1.AsyncIterator: Sendable , Base2 .AsyncIterator : Sendable , Base3 .AsyncIterator : Sendable {
63+ Base1.Element: Sendable , Base2 .Element : Sendable , Base3 .Element : Sendable {
6664 public typealias Element = (Base1.Element , Base2.Element , Base3.Element )
6765
6866 public struct Iterator : AsyncIteratorProtocol {
0 commit comments