2
2
3
3
* Proposal: [ SAA-0006] ( https://github.com/apple/swift-async-algorithms/blob/main/Evolution/0006-combineLatest.md )
4
4
* Authors: [ Philippe Hausler] ( https://github.com/phausler )
5
- * Status: ** Implemented **
5
+ * Status: ** Accepted **
6
6
7
7
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 ) |
9
9
[ Tests] ( https://github.com/apple/swift-async-algorithms/blob/main/Tests/AsyncAlgorithmsTests/TestCombineLatest.swift )]
10
10
11
11
* Decision Notes:
@@ -47,8 +47,7 @@ public func combineLatest<Base1: AsyncSequence, Base2: AsyncSequence, Base3: Asy
47
47
public struct AsyncCombineLatest2Sequence <Base1 : AsyncSequence , Base2 : AsyncSequence >: Sendable
48
48
where
49
49
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 {
52
51
public typealias Element = (Base1.Element , Base2.Element )
53
52
54
53
public struct Iterator : AsyncIteratorProtocol {
@@ -61,8 +60,7 @@ public struct AsyncCombineLatest2Sequence<Base1: AsyncSequence, Base2: AsyncSequ
61
60
public struct AsyncCombineLatest3Sequence <Base1 : AsyncSequence , Base2 : AsyncSequence , Base3 : AsyncSequence >: Sendable
62
61
where
63
62
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 {
66
64
public typealias Element = (Base1.Element , Base2.Element , Base3.Element )
67
65
68
66
public struct Iterator : AsyncIteratorProtocol {
0 commit comments