4 implementations of SubscribeResourcesAsync
Aspire.Dashboard (1)
ResourceService\DashboardClient.cs (1)
425async Task<ResourceViewModelSubscription> IDashboardClient.SubscribeResourcesAsync(CancellationToken cancellationToken)
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (1)
58public Task<ResourceViewModelSubscription> SubscribeResourcesAsync(CancellationToken cancellationToken) => throw new NotImplementedException();
Shared\TestDashboardClient.cs (1)
58public Task<ResourceViewModelSubscription> SubscribeResourcesAsync(CancellationToken cancellationToken)
Aspire.Dashboard.Tests (1)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
54public Task<ResourceViewModelSubscription> SubscribeResourcesAsync(CancellationToken cancellationToken)
7 references to SubscribeResourcesAsync
Aspire.Dashboard (2)
Model\ResourceOutgoingPeerResolver.cs (1)
29var (snapshot, subscription) = await resourceService.SubscribeResourcesAsync(_watchContainersTokenSource.Token).ConfigureAwait(false);
ResourceService\DashboardClient.cs (1)
33/// <see cref="IDashboardClient.SubscribeResourcesAsync"/> and <see cref="IDashboardClient.SubscribeConsoleLogs"/>
Aspire.Dashboard.Tests (5)
Model\DashboardClientTests.cs (5)
53var (_, subscription) = await client.SubscribeResourcesAsync(CancellationToken.None).DefaultTimeout(); 81var (_, subscription) = await client.SubscribeResourcesAsync(CancellationToken.None).DefaultTimeout(); 106await Assert.ThrowsAsync<ObjectDisposedException>(() => client.SubscribeResourcesAsync(CancellationToken.None)).DefaultTimeout(); 119_ = await client.SubscribeResourcesAsync(CancellationToken.None).DefaultTimeout(); 137var subscribeTask = client.SubscribeResourcesAsync(CancellationToken.None);