7 instantiations of WaitForResourceResponse
Aspire.Hosting (7)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (7)
645
return new
WaitForResourceResponse
663
_ => new
WaitForResourceResponse
{ Success = false, ErrorMessage = $"Unknown status: {request.Status}" }
668
return new
WaitForResourceResponse
{ Success = false, TimedOut = true, ErrorMessage = $"Timed out waiting for resource '{request.ResourceName}'." };
672
return new
WaitForResourceResponse
{ Success = false, ErrorMessage = ex.Message };
699
return new
WaitForResourceResponse
722
return new
WaitForResourceResponse
740
return new
WaitForResourceResponse
11 references to WaitForResourceResponse
Aspire.Hosting (4)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (4)
634
public async Task<
WaitForResourceResponse
> WaitForResourceAsync(WaitForResourceRequest request, CancellationToken cancellationToken = default)
676
private static async Task<
WaitForResourceResponse
> WaitForHealthyAsync(ResourceNotificationService notificationService, WaitResourceTarget target, CancellationToken cancellationToken)
707
private static async Task<
WaitForResourceResponse
> WaitForRunningAsync(ResourceNotificationService notificationService, WaitResourceTarget target, CancellationToken cancellationToken)
731
private static async Task<
WaitForResourceResponse
> WaitForTerminalAsync(ResourceNotificationService notificationService, WaitResourceTarget target, CancellationToken cancellationToken)
Aspire.Hosting.Tests (7)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (6)
1232
var
result = await target.WaitForResourceAsync(new WaitForResourceRequest
1443
var
response = await waitTask.DefaultTimeout();
1482
var
response = await waitTask.DefaultTimeout();
1578
var
response = await target.WaitForResourceAsync(new WaitForResourceRequest
2768
var
result = await target.WaitForResourceAsync(new WaitForResourceRequest
2801
var
result = await target.WaitForResourceAsync(new WaitForResourceRequest
Backchannel\BackchannelContractTests.cs (1)
52
typeof(
WaitForResourceResponse
),