Method WatchAsync
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
WatchAsync(CancellationToken)
The changes of the endpoint's shared connection, as WatchAsync(string, CancellationToken) gives them.
IAsyncEnumerable<SshConnectionEvent> WatchAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken