LibTmux.Server.GetAttachedSessionsAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Collections.cs
- Other languages
- Python Ruby Lua TypeScript Rust Go Java C++ Swift
- GetAttachedSessionsAsync ( cancellationToken : CancellationToken ) Task<IReadOnlyList<Session>>
-
Reads every session with at least one attached client.
A handle that has not found a live server yet discovers one first.
- Parameters
-
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
The attached sessions reported by a successful read.
- Raises
-
-
LibTmuxException – The listing failed, including an absent daemon.
-
In other ports List the sessions a client is attached to
- Python
libtmux.Server.attached_sessions - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Server - Rust
server.Server.attached_sessions - Go no equivalent on
Server - Java
io.github.libtmux.Server.Server.attachedSessions - C++ no equivalent on
Server - Swift no equivalent on
Server
0 declared, 0 inherited