Server.GetAttachedSessionsAsync
Reads every session with at least one attached client.
Source and package
- Qualified name
-
LibTmux .Server. Get Attached Sessions Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Collections.cs
- async Task<IRead
Only <Session>> GetAttachedSessionsAsync( CancellationList Token cancellationToken = default ) -
Description
A handle that has not found a live server yet discovers one first. The control client this library keeps on the server is not counted as attached.
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
The attached sessions reported by a successful read.
- Errors
-
-
Lib
Tmux – The listing failed, including an absent daemon.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.Server.GetAttachedSessionsAsync.
tmux command
task materialThe tmux commands behind GetAttachedSessionsAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 3 other ports mappedSource-verified mappings for List the sessions a client is attached to. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Reads every session with at least one attached client. | This page |
| Python | libtmux Return active Session instances. | None recorded in the model |
| Rust | server List the sessions that have at least one client attached. | None recorded in the model |
| Java | io Captures every session a client is attached to. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
no equivalent on Server
no equivalent on Server
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.