method libtmux-dotnet latest
ServerMirror.WatchAsync
Streams the current view and then each newer one, skipping any published while the reader was busy.
Source and package
- Module
- LibTmux
- Declared in
- ServerMirror
- Package
- LibTmux
- Source
- src/LibTmux/Snapshots/ServerMirror.cs
- WatchAsync ( cancellationToken : Cancellation
Token ) IAsyncEnumerable <ServerMirror >View -
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Stops the stream.
-
- Returns
-
Views in epoch order, ending when the mirror ends; a failure that ended it is thrown.