gamelift-example-lambda
gamelift-example-lambda copied to clipboard
Revisit how I'm writing await ... promise ... then ... catch logic
A lot of the code involving the AWS SDK can be written to be much shorter. Look at the following links for more information:
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/using-async-await.html https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html https://discord.com/channels/535222908818030613/721761733575835699/841866248950120468