Created
March 19, 2016 19:59
-
-
Save jongio/d77d3edf23cc958626a7 to your computer and use it in GitHub Desktop.
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
public class GreetingsOrchestration : TaskOrchestration<string,string> | |
{ | |
public override async Task<string> RunTask(OrchestrationContext context, string input) | |
{ | |
string user = await context.ScheduleTask<string>(typeof(GetUserTask)); | |
string greeting = await context.ScheduleTask<string>(typeof(SendGreetingTask), user); | |
return greeting; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment