44 references to WaitAsync
aspire (11)
Backchannel\AppHostBackchannel.cs (8)
41var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 54var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 68var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 88var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 154var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 174var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 189var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false); 202var rpc = await _rpcTaskCompletionSource.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
Commands\ExecCommand.cs (1)
202var backchannel = await backchannelCompletionSource.Task.WaitAsync(cancellationToken);
Commands\RunCommand.cs (1)
180var backchannel = await _interactionService.ShowStatusAsync(RunCommandStrings.ConnectingToAppHost, async () => { return await backchannelCompletitionSource.Task.WaitAsync(cancellationToken); });
NuGet\NuGetPackagePrefetcher.cs (1)
80var command = await executionContext.CommandSelected.Task.WaitAsync(combined.Token);
Aspire.Dashboard (1)
Components\Interactions\InteractionsProvider.cs (1)
281await currentDialogReference.Result.WaitAsync(_cts.Token);
Aspire.Hosting (14)
ApplicationModel\ParameterResource.cs (1)
90return await WaitForValueTcs.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
Backchannel\AppHostRpcTarget.cs (1)
37var channel = await _logChannelTcs.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
Dashboard\DashboardServiceHost.cs (1)
189var uri = await _resourceServiceUri.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
Dcp\DcpDependencyCheck.cs (1)
81processResult = await task.WaitAsync(cancellationToken).ConfigureAwait(false);
Exec\ExecResourceManager.cs (1)
61execResource = await _execResourceInitialized.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
Publishing\DockerContainerRuntime.cs (5)
96.WaitAsync(cancellationToken) 168var dockerResult = await pendingDockerResult.WaitAsync(cancellationToken).ConfigureAwait(false); 203var buildxResult = await pendingBuildxResult.WaitAsync(cancellationToken).ConfigureAwait(false); 241.WaitAsync(cancellationToken) 282.WaitAsync(cancellationToken)
Publishing\PodmanContainerRuntime.cs (2)
67.WaitAsync(cancellationToken) 122var processResult = await pending.WaitAsync(token).ConfigureAwait(false);
Publishing\ResourceContainerImageBuilder.cs (1)
307.WaitAsync(cancellationToken)
VersionChecking\PackageFetcher.cs (1)
52.WaitAsync(cancellationToken)
Aspire.Hosting.Azure (2)
AzureDeployingContext.cs (2)
263var result = await pendingResult.WaitAsync(cancellationToken).ConfigureAwait(false); 322await pendingResult.WaitAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBExtensions.cs (1)
112await cosmosClient.ReadAccountAsync().WaitAsync(ct).ConfigureAwait(false);
Aspire.Hosting.Testing (3)
DistributedApplicationEntryPointInvoker.cs (1)
132return await _appTcs.Task.WaitAsync(cancellationToken).ConfigureAwait(false);
DistributedApplicationFactory.cs (2)
51return await _builderTcs.Task.WaitAsync(linkedCts.Token).ConfigureAwait(false); 61return await _appTcs.Task.WaitAsync(linkedCts.Token).ConfigureAwait(false);
Aspire.Hosting.Testing.Tests (9)
TestingBuilderTests.cs (9)
451genericEntryPoint ? DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>([$"--crash-{crashArg}"], cts.Token).WaitAsync(cts.Token) 452: DistributedApplicationTestingBuilder.CreateAsync(typeof(Projects.TestingAppHost1_AppHost), [$"--crash-{crashArg}"], cts.Token).WaitAsync(cts.Token)); 459? await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>([$"--crash-{crashArg}"], cts.Token).WaitAsync(cts.Token) 460: await DistributedApplicationTestingBuilder.CreateAsync(typeof(Projects.TestingAppHost1_AppHost), [$"--crash-{crashArg}"], cts.Token).WaitAsync(cts.Token); 465using var app = await builder.BuildAsync().WaitAsync(cts.Token); 494using var builder = await DistributedApplicationTestingBuilder.CreateAsync<Projects.TestingAppHost1_AppHost>(["--add-unknown-container"], cts.Token).WaitAsync(cts.Token); 496await using var app = await builder.BuildAsync(cts.Token).WaitAsync(cts.Token); 517cts.Token).WaitAsync(cts.Token); 532app = await builder.BuildAsync(cts.Token).WaitAsync(cts.Token);
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
432var completedHandlerTask = await Task.WhenAny(locationChangingTasks).WaitAsync(cancellationToken);
Microsoft.Maui (2)
SoftInputExtensions.cs (2)
90 return showKeyboardTCS.Task.WaitAsync(token); 95 return Task.FromResult(result).WaitAsync(token);