1 instantiation of ResourceSnapshotChange
Aspire.Hosting (1)
Dashboard\ResourcePublisher.cs (1)
106await channel.Writer.WriteAsync(new(changeType, snapshot), cancellationToken).ConfigureAwait(false);
7 references to ResourceSnapshotChange
Aspire.Hosting (7)
Dashboard\DashboardService.cs (2)
80foreach (var update in batch) 94throw new FormatException($"Unexpected {nameof(ResourceSnapshotChange)} type: {update.ChangeType}");
Dashboard\ResourcePublisher.cs (5)
23private ImmutableHashSet<Channel<ResourceSnapshotChange>> _outgoingChannels = []; 49var channel = Channel.CreateUnbounded<ResourceSnapshotChange>( 58async IAsyncEnumerable<IReadOnlyList<ResourceSnapshotChange>> StreamUpdates([EnumeratorCancellation] CancellationToken enumeratorCancellationToken = default) 86ImmutableHashSet<Channel<ResourceSnapshotChange>> channels; 113IAsyncEnumerable<IReadOnlyList<ResourceSnapshotChange>> Subscription);