Lambda Context callbackWaitsForEmptyEventLoop #1519
Unanswered
masterbater
asked this question in
Q&A
Replies: 2 comments
-
cc: @watany-dev |
Beta Was this translation helpful? Give feedback.
0 replies
-
The app.get('/lambda-context', (c) => {
const fnctx = c.env.lambdaContext
console.log(fnctx..callbackWaitsForEmptyEventLoop)
return c.json(fnctx)
}) Although not directly related to this topic, the current access to requestContext can be confusing. I feel it would be preferable to bind the lambdaEvent and access it via c.env.lambdaEvent.requestContext. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
callbackWaitsForEmptyEventLoop does this exist in lambda context, its untyped
Is this correct ? is there any better way to load or initiate database connection in lambda
Reference
https://mongoosejs.com/docs/lambda.html
Beta Was this translation helpful? Give feedback.
All reactions