Client.ResolveAttachmentAsync
Reads where this client is looking now.
Source and package
- Module
- LibTmux
- Declared in
- Client
- Package
- LibTmux
- Source
- src/LibTmux/Client.Administration.cs
- ResolveAttachmentAsync ( cancellationToken : Cancellation
Token ) Task<ClientAttachment ?> -
Description#
The three parts come from one reading of the client, so a client that moves between sessions cannot yield a window from one and a pane from another. A server that has stopped answering is not part of this: the first read here is a live listing, and a live listing throws on failure rather than answering null for it.
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The session, window and pane the client is on, or null when the client has detached or its session has since gone.