Functions.Templates/Templates/DurableFunctionsActivity-JavaScript/index.js (4 lines of code) (raw):

/* * This function is not intended to be invoked directly. Instead it will be * triggered by an orchestrator function. * * Before running this sample, please: * - create a Durable orchestration function * - create a Durable HTTP starter function * - run 'npm install durable-functions' from the wwwroot folder of your * function app in Kudu */ module.exports = async function (context) { return `Hello ${context.bindings.name}!`; };