method libtmux-dotnet latest
PsmuxServer.RefreshAsync
Reconnects and returns a fresh server observation.
Source and package
- Module
- LibTmux
- Declared in
- PsmuxServer
- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxServer.cs
- RefreshAsync ( cancellationToken : Cancellation
Token ) Task<PsmuxServer > -
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels process startup and discovery.
-
- Returns
-
A replacement observation using the same endpoint settings.
- Raises
-
-
Invalid
Operation – The selected namespace has no live session.Exception -
Not
Supported – The executable, build, namespace, or session count is outside the preview contract.Exception -
Lib
Tmux – The verified client could not complete discovery.Exception
-