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
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