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 0e374ab commit 54d2fd1Copy full SHA for 54d2fd1
Sources/AWSLambdaRuntime/LambdaRuntime.swift
@@ -26,7 +26,7 @@ import Foundation
26
// We need `@unchecked` Sendable here, as `NIOLockedValueBox` does not understand `sending` today.
27
// We don't want to use `NIOLockedValueBox` here anyway. We would love to use Mutex here, but this
28
// sadly crashes the compiler today.
29
-public final class LambdaRuntime<Handler>: Service, @unchecked Sendable where Handler: StreamingLambdaHandler {
+public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: StreamingLambdaHandler {
30
// TODO: We want to change this to Mutex as soon as this doesn't crash the Swift compiler on Linux anymore
31
@usableFromInline
32
let handlerMutex: NIOLockedValueBox<Handler?>
0 commit comments