✅ async/await Task in an AWS Lambda

Given the following code
var someWorkTasks = Task.Run(async () =>
{
    ....
});


without explicitly doing await someWorkTasks; it is possible that the lambda execution will get cut off/finish before that has a change to complete, right?
I'm not insane? I need to explicitly await someWorkTasks; to ensure everything inside it finished, right?
Was this page helpful?