Skip to content

Commit 5656338

Browse files
authored
Remove print from implementation of some algorithms (#240)
1 parent 9abd029 commit 5656338

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Sources/AsyncAlgorithms/CombineLatest/CombineLatestStateMachine.swift

-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ struct CombineLatestStateMachine<
243243
}
244244

245245
mutating func elementProduced(_ result: (Base1.Element?, Base2.Element?, Base3.Element?)) -> ElementProducedAction? {
246-
print("upstream produced: \(result)")
247246
switch self.state {
248247
case .initial:
249248
// Child tasks that are producing elements are only created after we transitioned to `zipping`
@@ -375,7 +374,6 @@ struct CombineLatestStateMachine<
375374
}
376375

377376
mutating func upstreamFinished(baseIndex: Int) -> UpstreamFinishedAction? {
378-
print("upstream finished: \(baseIndex)")
379377
switch self.state {
380378
case .initial:
381379
preconditionFailure("Internal inconsistency current state \(self.state) and received upstreamFinished()")

Sources/AsyncAlgorithms/CombineLatest/CombineLatestStorage.swift

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ final class CombineLatestStorage<
7575
}
7676
}
7777

78-
print("Returning: \(result)")
7978
return try result._rethrowGet()
8079

8180
} onCancel: {

0 commit comments

Comments
 (0)