serverless / dashboard

MIT License
24 stars 10 forks source link

AWS Lambda SDK: Fix handling of case where we wait for empty event loop #787

Closed medikoo closed 1 year ago

medikoo commented 1 year ago

When lambda is resolved via callback, by default AWS holds the resolution until the event loop drains.

So far we didn't handle this properly (as it was not clear how it could be handled), now that we learned how AWS runtime internally detects the drain of event loop, we can fix the handling of this special case