4 references to WaitForExitAsync
aspire (1)
Projects\GuestAppHostProject.cs (1)
1048supervisorExitCode = 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)
83await scope.WaitForExitAsync(TestContext.Current.CancellationToken).WaitAsync(TimeSpan.FromSeconds(30)); 107await Assert.ThrowsAnyAsync<OperationCanceledException>(() => scope.WaitForExitAsync(cancellation.Token));