mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-25 04:27:48 +00:00
Remove print from implementation of some algorithms (#240)
This commit is contained in:
1 parent
9abd029409
commit
5656338b5d
2 files changed
-3
No files matched your search
@@ -243,7 +243,6 @@ struct CombineLatestStateMachine<
|
||||
}
|
||||
|
||||
mutating func elementProduced(_ result: (Base1.Element?, Base2.Element?, Base3.Element?)) -> ElementProducedAction? {
|
||||
print("upstream produced: \(result)")
|
||||
switch self.state {
|
||||
case .initial:
|
||||
// Child tasks that are producing elements are only created after we transitioned to `zipping`
|
||||
@@ -375,7 +374,6 @@ struct CombineLatestStateMachine<
|
||||
}
|
||||
|
||||
mutating func upstreamFinished(baseIndex: Int) -> UpstreamFinishedAction? {
|
||||
print("upstream finished: \(baseIndex)")
|
||||
switch self.state {
|
||||
case .initial:
|
||||
preconditionFailure("Internal inconsistency current state \(self.state) and received upstreamFinished()")
|
||||
|
||||
@@ -75,7 +75,6 @@ final class CombineLatestStorage<
|
||||
}
|
||||
}
|
||||
|
||||
print("Returning: \(result)")
|
||||
return try result._rethrowGet()
|
||||
|
||||
} onCancel: {
|
||||
|
||||
Reference in new issue
Block a user