app/v3/storageQueueTrigger/index.ts (5 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<void> {
context.log(`storageQueueTrigger was triggered by "${myQueueItem}"`);
};
export default queueTrigger;