12 writes to WatchConnectionsHandler
Aspire.Cli.Tests (12)
Backchannel\TrayWatchStreamTests.cs (12)
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 }; 329var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 518var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = Watch }; 621var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 744var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 870var monitor = new TestAuxiliaryBackchannelMonitor { WatchConnectionsHandler = token => snapshots.Reader.ReadAllAsync(token) }; 943var 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))