swift-server / swift-aws-lambda-runtime

Swift implementation of AWS Lambda Runtime
Apache License 2.0
1.13k stars 102 forks source link

async/await support #186

Closed fabianfett closed 3 years ago

fabianfett commented 3 years ago

async/await is awesome! Let's support this in Lambda.

Modifications:

pokryfka commented 3 years ago

Node.js developers will feel at home :-)

But we would need swift-no support it to be useful inside Lambda handler implementations, no?

Seems to be in the pipeline :-) https://github.com/apple/swift-nio/pull/1701

fabianfett commented 3 years ago

This might be interesting to us. Potentially replacing the LambdaHandlerFactory:

https://github.com/apple/swift/pull/35398

fabianfett commented 3 years ago

@swift-server-bot test this please

tomerd commented 3 years ago

awesome!