File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -108,27 +108,3 @@ public struct OpenAPILambdaHandler<L: OpenAPILambda>: Sendable {
108
108
return lambda. output ( from: lambdaResponse)
109
109
}
110
110
}
111
-
112
- // struct Test<L: OpenAPILambda> where L.Event: Sendable, L.Output: Sendable {
113
- // private let router: OpenAPILambdaRouter
114
- // private let transport: OpenAPILambdaTransport
115
- // private let lambda: L
116
- // private let logger: Logger = Logger(label: "test")
117
-
118
- // /// the input type for this Lambda handler (received from the `OpenAPILambda`)
119
- // public typealias Event = L.Event
120
-
121
- // /// the output type for this Lambda handler (received from the `OpenAPILambda`)
122
- // public typealias Output = L.Output
123
-
124
- // /// Function entry point when the runtime environment is created
125
- // private func main() async throws {
126
- // // Instantiate LambdaRuntime with a handler implementing the business logic of the Lambda function
127
- // let lambdaRuntime = LambdaRuntime(logger: logger, body: self.handler)
128
- // try await lambdaRuntime.run()
129
- // }
130
- // private func handler(event: Event, context: LambdaContext) async throws -> Output {
131
- // fatalError()
132
- // }
133
-
134
- // }
You can’t perform that action at this time.
0 commit comments