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:
Fabian Fett
2021-08-24 14:20:13 -07:00
committed by GitHub
parent 3511a92241
commit 454fe2e037
19 changed files with 400 additions and 616 deletions
@@ -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