method libtmux-dotnet latest
ServerMirror.WaitForNewerAsync
Waits for a view newer than an epoch.
Source and package
- Module
- LibTmux
- Declared in
- ServerMirror
- Package
- LibTmux
- Source
- src/LibTmux/Snapshots/ServerMirror.cs
- WaitForNewerAsync ( epoch : long , cancellationToken : Cancellation
Token ) Task<ServerMirror ?>View -
- Parameters
-
-
epoch ( long ) – The epoch of the view the caller already has.
-
cancellationToken ( Cancellation
Token ) – Stops waiting.
-
- Returns
-
The newer view, or null once the mirror has ended without one.