Esempio n. 1
0
 // TODO: Make this a built-in API
 public static async Task <DurableOrchestrationStatus> WaitForStartAsync(
     this IDurableOrchestrationClient client,
     string instanceId,
     TimeSpan timeout)
 {
     using CancellationTokenSource cts = new CancellationTokenSource(timeout);
     return(await client.WaitForStartAsync(instanceId, cts.Token));
 }