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