# LibTmux.ServerMirror.WaitForNewerAsync

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

```
LibTmux.ServerMirror.WaitForNewerAsync(epoch: long, cancellationToken: CancellationToken) -> Task<ServerMirrorView?>
```

Waits for a view newer than an epoch.

## Parameters

- `epoch` (`long`): The epoch of the view the caller already has.
- `cancellationToken` (`CancellationToken`): Stops waiting.

## Returns

The newer view, or null once the mirror has ended without one.
