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 a500f39 commit e5e6694Copy full SHA for e5e6694
Sources/AWSLambdaRuntime/LambdaHandlers.swift
@@ -48,7 +48,7 @@ public protocol StreamingLambdaHandler: _Lambda_SendableMetatype {
48
49
/// A writer object to write the Lambda response stream into. The HTTP response is started lazily.
50
/// before the first call to ``write(_:)`` or ``writeAndFinish(_:)``.
51
-public protocol LambdaResponseStreamWriter {
+public protocol LambdaResponseStreamWriter: Sendable {
52
/// Write a response part into the stream. Bytes written are streamed continually.
53
/// - Parameter buffer: The buffer to write.
54
/// - Parameter hasCustomHeaders: If `true`, the response will be sent with custom HTTP status code and headers.
0 commit comments