1 write to _notifications
Aspire.Hosting.DevTunnels (1)
DevTunnelMonitor.cs (1)
57_notifications = services.GetRequiredService<ResourceNotificationService>();
7 references to _notifications
Aspire.Hosting.DevTunnels (7)
DevTunnelMonitor.cs (7)
356await DevTunnelsResourceBuilderExtensions.UpdatePortAccessAsync(port, _notifications, _logs, _timeProvider.GetUtcNow()).ConfigureAwait(false); 434await foreach (var update in _notifications.WatchAsync(run.Cancellation.Token).ConfigureAwait(false)) 479if (_notifications.TryGetCurrentState(_resource.Name, out var current) 615await _notifications.PublishUpdateAsync(_resource, snapshot => WithConnectionHealth(snapshot, _resource.Name, healthy, description)).ConfigureAwait(false); 619await DevTunnelsResourceBuilderExtensions.UpdatePortAsync(port, available, _notifications, _logs, run.Cancellation.Token).ConfigureAwait(false); 683return _notifications.PublishUpdateAsync(port, snapshot => snapshot with 701&& (!_notifications.TryGetCurrentState(_resource.Name, out var current)