We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c283c3 commit a620a2fCopy full SHA for a620a2f
Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift
@@ -67,23 +67,10 @@ final actor LambdaRuntimeClient: LambdaRuntimeClientProtocol {
67
NIOLoopBound<LambdaChannelHandler<LambdaRuntimeClient>>, any Error
68
>
69
70
- private enum ConnectionState: Equatable {
+ private enum ConnectionState {
71
case disconnected
72
case connecting([ConnectionContinuation])
73
case connected(Channel, LambdaChannelHandler<LambdaRuntimeClient>)
74
-
75
- static func == (lhs: ConnectionState, rhs: ConnectionState) -> Bool {
76
- switch (lhs, rhs) {
77
- case (.disconnected, .disconnected):
78
- return true
79
- case (.connecting, .connecting):
80
81
- case (.connected, .connected):
82
83
- default:
84
- return false
85
- }
86
87
}
88
89
enum LambdaState {
0 commit comments