Intro-To-Serverless icon indicating copy to clipboard operation
Intro-To-Serverless copied to clipboard

[Content Bug] Remove context.done() from code snippets

Open lechnerc77 opened this issue 3 years ago • 2 comments

All Markdown files

Describe the Issue

Some code snippets in markdown files contain a call of context.done(). This is an outdated call that is not needed in asynchronous functions and Azure Funtions Runtime v2 or higher.

For details see: https://docs.microsoft.com/azure/azure-functions/functions-reference-node?tabs=v2-v3-v4-export%2Cv2-v3-v4-done%2Cv2%2Cv2-log-custom-telemetry%2Cv2-accessing-request-and-response%2Cwindows-setting-the-node-version#exporting-a-function

This call should be removed

Proposed Fix

Remove context.done() calls in code snippets

lechnerc77 avatar Apr 03 '22 14:04 lechnerc77

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 18 '22 19:04 stale[bot]

@emsesc @ganning127 : Can we add the pinned label to the issues that should be done after the summer session so that they are ignored by the stale bot?

lechnerc77 avatar Apr 24 '22 09:04 lechnerc77