Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 653 Bytes

functions-add-output-binding-js-v4.md

File metadata and controls

14 lines (11 loc) · 653 Bytes
author ms.service ms.topic ms.date ms.author
ggailey777
azure-functions
include
04/24/2024
glenga

Add code that uses the output binding object on context.extraOutputs to create a queue message. Add this code before the return statement.

:::code language="javascript" range="21" source="~/functions-docs-javascript/functions-add-output-binding-storage-queue-cli-v4-programming-model/src/functions/httpTrigger1.js":::

At this point, your function could look as follows:

:::code language="javascript" source="~/functions-docs-javascript/functions-add-output-binding-storage-queue-cli-v4-programming-model/src/functions/httpTrigger1.js":::