Created
May 12, 2018 14:22
-
-
Save kennetham/a9dbaeb7567c07406d1a33656352be8c to your computer and use it in GitHub Desktop.
Orchestrator Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const df = require("durable-functions"); | |
module.exports = df(function*(context){ | |
context.log("Starting chain sample"); | |
const output = []; | |
output.push(yield context.df.callActivityAsync("E1_SayHello", "Tokyo")); | |
output.push(yield context.df.callActivityAsync("E1_SayHello", "Seattle")); | |
output.push(yield context.df.callActivityAsync("E1_SayHello", "London")); | |
return output; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment