5 references to _watchContainersTokenSource
Aspire.Dashboard (5)
Model\ResourceOutgoingPeerResolver.cs (5)
36
var (snapshot, subscription) = await resourceService.SubscribeResourcesAsync(
_watchContainersTokenSource
.Token).ConfigureAwait(false);
49
await foreach (var changes in subscription.WithCancellation(
_watchContainersTokenSource
.Token).ConfigureAwait(false))
270
if (_subscriptions.Count == 0 ||
_watchContainersTokenSource
.IsCancellationRequested)
289
_watchContainersTokenSource
.Cancel();
290
_watchContainersTokenSource
.Dispose();