mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
Drop sync and closure APIs (#222)
motivation: with async/await, no need in closure based APIs changes: * Drop closure APIs * Rename AsyncLambdaHandler -> LambdaHandler * Removed unnecassary public acls from tests
This commit is contained in:
@@ -18,7 +18,7 @@ import Shared
|
||||
// set LOCAL_LAMBDA_SERVER_ENABLED env variable to "true" to start
|
||||
// a local server simulator which will allow local debugging
|
||||
@main
|
||||
struct MyLambdaHandler: AsyncLambdaHandler {
|
||||
struct MyLambdaHandler: LambdaHandler {
|
||||
typealias In = Request
|
||||
typealias Out = Response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user