5 references to _watchContainersTokenSource
Aspire.Dashboard (5)
Model\ResourceOutgoingPeerResolver.cs (5)
29var (snapshot, subscription) = await resourceService.SubscribeResourcesAsync(_watchContainersTokenSource.Token).ConfigureAwait(false); 42await foreach (var changes in subscription.WithCancellation(_watchContainersTokenSource.Token).ConfigureAwait(false)) 153if (_subscriptions.Count == 0 || _watchContainersTokenSource.IsCancellationRequested) 172_watchContainersTokenSource.Cancel(); 173_watchContainersTokenSource.Dispose();