10 references to WatchAsync
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (2)
110await foreach (var resourceEvent in WatchAsync(watchToken).ConfigureAwait(false)) 278await foreach (var resourceEvent in WatchAsync(watchToken).ConfigureAwait(false))
Dashboard\DashboardServiceData.cs (1)
59await foreach (var @event in resourceNotificationService.WatchAsync().WithCancellation(cancellationToken).ConfigureAwait(false))
Aspire.Hosting.Testing.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
123await foreach (var resourceEvent in resourceNotificationService.WatchAsync(cancellationTokenSource.Token).ConfigureAwait(false))
Aspire.Hosting.Tests (5)
Dcp\ApplicationExecutorTests.cs (2)
86await foreach (var item in resourceNotificationService.WatchAsync()) 1012await foreach (var item in resourceNotificationService.WatchAsync())
ResourceNotificationTests.cs (2)
55await foreach (var item in notificationService.WatchAsync(cancellationToken)) 108await foreach (var item in notificationService.WatchAsync(cancellation))
Utils\LoggerNotificationExtensions.cs (1)
123await foreach (var resourceEvent in resourceNotificationService.WatchAsync(cancellationTokenSource.Token).ConfigureAwait(false))
Aspire.Playground.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
123await foreach (var resourceEvent in resourceNotificationService.WatchAsync(cancellationTokenSource.Token).ConfigureAwait(false))