# LibTmux.ServerMirror.WatchAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Snapshots/ServerMirror.cs#L239
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-servermirror-watchasync/

```
LibTmux.ServerMirror.WatchAsync(cancellationToken: CancellationToken) -> IAsyncEnumerable<ServerMirrorView>
```

Streams the current view and then each newer one, skipping any published while the reader was busy.

## Parameters

- `cancellationToken` (`CancellationToken`): Stops the stream.

## Returns

Views in epoch order, ending when the mirror ends; a failure that ended it is thrown.
