This SAM application provides the Lambda functions, DynamoDB table, and roles to allow you to build a simple chat application based on API Gateway's new WebSocket-based API feature.
There is section of code where the 'stale' connection is detected.
This is the code snippet. I am not using the Promise.all that u guys are using if it does affect in anyway. Just calling await normally. And the value of apiRes here is {}, without erroring out Is there any work around to this? Because now sometimes my messages goes into unknown darkness :(
There is section of code where the 'stale' connection is detected. This is the code snippet. I am not using the
Promise.all
that u guys are using if it does affect in anyway. Just calling await normally. And the value ofapiRes
here is {}, without erroring out Is there any work around to this? Because now sometimes my messages goes into unknown darkness :(