Skip to content

Instantly share code, notes, and snippets.

@jesspanni
Created September 17, 2019 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesspanni/dfeea65b4359db8e4a339583b9594c0d to your computer and use it in GitHub Desktop.
Save jesspanni/dfeea65b4359db8e4a339583b9594c0d to your computer and use it in GitHub Desktop.
Orchstration.cs
[FunctionName("Orchestration")]
public async Task Run(
[OrchestrationTrigger]IDurableOrchestrationContext context,
ILogger log)
{
int secondsToWait = context.GetInput<int>();
await context.CallActivityAsync(nameof(Function1.LongRunningOperation), secondsToWait);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment