5 references to LaunchAsync
Aspire.Hosting.RemoteHost (1)
Language\IntegrationHostLauncher.cs (1)
160process = await _processLauncher.LaunchAsync(descriptor, registrationId, attemptCancellation.Token).ConfigureAwait(false);
Aspire.Hosting.RemoteHost.Tests (4)
IntegrationHostProcessLauncherTests.cs (4)
36await Assert.ThrowsAnyAsync<OperationCanceledException>(() => launcher.LaunchAsync(descriptor, "attempt", cancellation.Token)); 56await Assert.ThrowsAsync<ArgumentOutOfRangeException>(() => launcher.LaunchAsync(descriptor, "attempt", TestContext.Current.CancellationToken)); 88var error = await Assert.ThrowsAsync<InvalidOperationException>(() => launcher.LaunchAsync(descriptor, "attempt", TestContext.Current.CancellationToken)); 140var error = await Assert.ThrowsAsync<AggregateException>(() => launcher.LaunchAsync(descriptor, "attempt", TestContext.Current.CancellationToken));