app/v3/storageQueueTriggerAndOutput/index.ts (6 lines of code) (raw):

// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. import { AzureFunction, Context } from '@azure/functions'; const queueTrigger: AzureFunction = async function (context: Context, myQueueItem: string): Promise<string> { context.log(`storageQueueTriggerAndOutput was triggered by "${myQueueItem}"`); return myQueueItem; }; export default queueTrigger;