Skip to content

Commit 98df9f9

Browse files
committed
add comment
1 parent 18b74e7 commit 98df9f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/AWSLambdaRuntimeCore/NewLambdaRuntimeClient.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ final actor NewLambdaRuntimeClient: LambdaRuntimeClientProtocol {
118118
self.connectionState = .connecting([])
119119
break
120120
case .connecting(var array):
121+
// Since we do get sequential invocations this case normally should never be hit.
122+
// We'll support it anyway.
121123
return try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<LambdaChannelHandler, any Error>) in
122124
array.append(continuation)
123125
self.connectionState = .connecting(array)

0 commit comments

Comments
 (0)