7 instantiations of WaitForResourceResponse
Aspire.Hosting (7)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (7)
667
return new
WaitForResourceResponse
685
_ => new
WaitForResourceResponse
{ Success = false, ErrorMessage = $"Unknown status: {request.Status}" }
690
return new
WaitForResourceResponse
{ Success = false, TimedOut = true, ErrorMessage = $"Timed out waiting for resource '{request.ResourceName}'." };
694
return new
WaitForResourceResponse
{ Success = false, ErrorMessage = ex.Message };
721
return new
WaitForResourceResponse
744
return new
WaitForResourceResponse
762
return new
WaitForResourceResponse
11 references to WaitForResourceResponse
Aspire.Hosting (4)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (4)
656
public async Task<
WaitForResourceResponse
> WaitForResourceAsync(WaitForResourceRequest request, CancellationToken cancellationToken = default)
698
private static async Task<
WaitForResourceResponse
> WaitForHealthyAsync(ResourceNotificationService notificationService, WaitResourceTarget target, CancellationToken cancellationToken)
729
private static async Task<
WaitForResourceResponse
> WaitForRunningAsync(ResourceNotificationService notificationService, WaitResourceTarget target, CancellationToken cancellationToken)
753
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
),