6 references to RpcResourceState
aspire (6)
Backchannel\AppHostBackchannel.cs (4)
17IAsyncEnumerable<RpcResourceState> GetResourceStatesAsync(CancellationToken cancellationToken); 80public async IAsyncEnumerable<RpcResourceState> GetResourceStatesAsync([EnumeratorCancellation]CancellationToken cancellationToken) 88var resourceStates = await rpc.InvokeWithCancellationAsync<IAsyncEnumerable<RpcResourceState>>( 95await foreach (var state in resourceStates.WithCancellation(cancellationToken))
Commands\RunCommand.cs (2)
204var knownResources = new SortedDictionary<string, RpcResourceState>(); 210await foreach (var resourceState in resourceStates)