12 references to WatchAsync
Aspire.Hosting (6)
ApplicationModel\ResourceLoggerService.cs (2)
182return CombineMultipleAsync(resourceNames, WatchAsync); 186return WatchAsync(resourceNames[0]);
Dashboard\DashboardLifecycleHook.cs (1)
402await foreach (var batch in resourceLoggerService.WatchAsync(dashboardResourceId).WithCancellation(cancellationToken).ConfigureAwait(false))
Dashboard\DashboardServiceData.cs (1)
121var sequence = _resourceLoggerService.WatchAsync(resourceName);
Exec\ExecResourceManager.cs (1)
113await foreach (var logs in _resourceLoggerService.WatchAsync(dcpExecResourceName).WithCancellation(cancellationToken).ConfigureAwait(false))
ResourceLoggerForwarderService.cs (1)
67await foreach (var logEvent in resourceLoggerService.WatchAsync(resourceId).WithCancellation(cancellationToken).ConfigureAwait(false))
Aspire.Hosting.Testing.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
162await foreach (var logEvent in resourceLoggerService.WatchAsync(resourceId).WithCancellation(cancellationTokenSource.Token).ConfigureAwait(false))
Aspire.Hosting.Tests (4)
Dcp\DcpExecutorTests.cs (3)
592var watchLogs = resourceLoggerService.WatchAsync(exeResource.Metadata.Name); 689var watchLogs1 = resourceLoggerService.WatchAsync(exeResource.Metadata.Name); 711var watchLogs2 = resourceLoggerService.WatchAsync(exeResource.Metadata.Name);
Utils\LoggerNotificationExtensions.cs (1)
162await foreach (var logEvent in resourceLoggerService.WatchAsync(resourceId).WithCancellation(cancellationTokenSource.Token).ConfigureAwait(false))
Aspire.Playground.Tests (1)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
162await foreach (var logEvent in resourceLoggerService.WatchAsync(resourceId).WithCancellation(cancellationTokenSource.Token).ConfigureAwait(false))