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