4 references to WaitForExitAsync
aspire (1)
Projects\GuestAppHostProject.cs (1)
1128supervisorExitCode = await scope.WaitForExitAsync(cancellationToken).ConfigureAwait(false);
Aspire.Cli.Tests (3)
DotNet\ProcessScopeTests.cs (1)
58var exception = await Assert.ThrowsAsync<AggregateException>(() => scope.WaitForExitAsync(cancellation.Token));
tests\Shared\Processes\ProcessSupervisorTests.cs (2)
85await scope.WaitForExitAsync(TestContext.Current.CancellationToken).DefaultTimeout(TestConstants.LongTimeoutDuration); 109await Assert.ThrowsAnyAsync<OperationCanceledException>(() => scope.WaitForExitAsync(cancellation.Token));