Skip to content

Instantly share code, notes, and snippets.

Last active August 17, 2020 01:57
What would you like to do?
public static async Task RunOrchestrator(
[OrchestrationTrigger] IDurableOrchestrationContext context,
ILogger log)
var uploadApprovedEvent = context.WaitForExternalEvent<bool>("UploadApproved");
await Task.WhenAny(uploadApprovedEvent);
log.LogInformation("File Ready");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment