3 implementations of WatchConnectionsAsync
aspire (1)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
61public async IAsyncEnumerable<IReadOnlyList<IAppHostAuxiliaryBackchannel>> WatchConnectionsAsync([EnumeratorCancellation] CancellationToken cancellationToken = default, bool readOnly = false)
Aspire.Cli.Tests (2)
Mcp\MockPackagingService.cs (1)
51public async IAsyncEnumerable<IReadOnlyList<IAppHostAuxiliaryBackchannel>> WatchConnectionsAsync([EnumeratorCancellation] CancellationToken cancellationToken = default, bool readOnly = false)
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
44public async IAsyncEnumerable<IReadOnlyList<IAppHostAuxiliaryBackchannel>> WatchConnectionsAsync([EnumeratorCancellation] CancellationToken cancellationToken = default, bool readOnly = false)
2 references to WatchConnectionsAsync
aspire (2)
Backchannel\TrayWatchStream.cs (1)
38await using var connections = monitor.WatchConnectionsAsync(token, readOnly: true).GetAsyncEnumerator(token);
Commands\PsCommand.cs (1)
245await foreach (var connections in _backchannelMonitor.WatchConnectionsAsync(followCancellationToken).WithCancellation(followCancellationToken).ConfigureAwait(false))