Closed adam-fowler closed 2 years ago
I think we should add the async methods directly to the replacement for the shutdown methods in: https://github.com/swift-server/swift-aws-lambda-runtime/pull/251
agree with @fabianfett, lets get #251 over the finish line.
Ok. I'm happy to close this in favour of #251 getting the async support
Add async shutdown method to
LambdaHandler
protocolMotivation:
LambdaHandler
provides async interfaces forinit
andhandle
but notshutdown
Modifications:
shutdown(context: Lambda.ShutdownContext) async throws
toLambdaHandler
LambdaHandler
in extensionResult:
Can shutdown LambdaHandler using async methods eg