PsmuxServer.GetSessionAsync
Reads the sole visible session.
Source and package
- Qualified name
-
LibTmux .Psmux Server. Get Session Async - Namespace
- LibTmux
- Declared in
PsmuxServer- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxServer.cs
- async Task<Psmux
Session > GetSessionAsync( CancellationToken cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the psmux query.Default
default
-
- Returns
-
The current immutable session observation.
- Errors
-
-
Invalid
Operation – The selected namespace no longer has one live session.Exception -
Stale
Server – The sole session was replaced after this server was connected.Generation Exception -
Not
Supported – The selected namespace contains more than one session.Exception -
Lib
Tmux – The verified client could not complete the query.Exception
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.PsmuxServer.GetSessionAsync.