11 writes to WatchConnectionsHandler
Aspire.Cli.Tests (11)
Backchannel\TrayWatchStreamTests.cs (11)
27monitor.WatchConnectionsHandler = Watch; 76var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 113var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 159var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 237var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 284var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 460var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 563var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 686var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 812var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 885var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Discover };
2 references to WatchConnectionsHandler
Aspire.Cli.Tests (2)
TestServices\TestAuxiliaryBackchannelMonitor.cs (2)
47if (WatchConnectionsHandler is not null) 49await foreach (var connections in WatchConnectionsHandler(cancellationToken).WithCancellation(cancellationToken).ConfigureAwait(false))