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 18b74e7 commit 98df9f9Copy full SHA for 98df9f9
Sources/AWSLambdaRuntimeCore/NewLambdaRuntimeClient.swift
@@ -118,6 +118,8 @@ final actor NewLambdaRuntimeClient: LambdaRuntimeClientProtocol {
118
self.connectionState = .connecting([])
119
break
120
case .connecting(var array):
121
+ // Since we do get sequential invocations this case normally should never be hit.
122
+ // We'll support it anyway.
123
return try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<LambdaChannelHandler, any Error>) in
124
array.append(continuation)
125
self.connectionState = .connecting(array)
0 commit comments