Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

Client.ResolveAttachmentAsync

Namespace LibTmux.Client.ResolveAttachmentAsync LibTmux

Reads where this client is looking now.

View as Markdown

Source and package
Module
LibTmux
Declared in
Client
Package
LibTmux
Source
src/LibTmux/Client.Administration.cs
ResolveAttachmentAsync ( cancellationToken : CancellationToken ) → Task<ClientAttachment?>
methodasync [source]

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
Returns

The session, window and pane the client is on, or null when the client has detached or its session has since gone.

Esc

Type to search.