Server.Sessions
Gets the sessions this handle captured.
Source and package
- Qualified name
-
LibTmux .Server. Sessions - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Snapshots.cs
- Sessions : Captured
Relation <Session>
Guides
task materialPages that discuss Sessions.
In other ports
task equivalence 21 other ports mappedSource-verified mappings for List the server’s sessions. 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 Gets the sessions this handle captured. | This page |
| Python | libtmux Sessions contained in server. | None recorded in the model |
| Ruby | Lib Behavior: Live acquisition. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| PowerShell | Lib Read sessions with optional exact selectors. | |
| Julia | Lib | |
| Erlang | tmux Return captured sessions in numeric ID order. Performs no I/O and raises incomplete_snapshot when that collection was not captured. | Returns captured rows without tmux I/O. |
| Elixir | Lib Returns a materialized session selection without I/O. | Returns a Selection of captured sessions without contacting tmux. |
| Common Lisp | libtmux: Return a fresh vector of physical sessions in captured wire order. No I/O. | 2 overloads sessions returns a fresh vector from a captured snapshot without contacting tmux. |
| TypeScript | server Every session on the server, read now. | async |
| Rust | server List every session on the server, preserving any failure. | async |
| Go | tmux Sessions materializes the server's sessions. Failures, including ErrNoServer, remain errors rather than empty results. | None recorded in the model |
| Java | io The sessions this expression matches, captured now. | 2 overloads |
| Clojure | libtmux Acquires captured sessions; acquisition failure throws. | Acquires a new captured graph and returns its session maps; acquisition failure throws. |
| Kotlin | io Every session, captured now. | async2 overloads |
| Scala | io The sessions this expression matches, captured now. | 2 overloads |
| F# | Lib Queries every session. | Builds a deferred session query on LibTmux.Server. Query.list acquires the results; it does not traverse the handle’s captured membership. |
| C++ | libtmux:: One snapshot each. | readonly |
| Swift | Server Every session on this server, in tmux's own order. | async |
| OCaml | Libtmux | Reads an immutable array of already captured sessions without I/O. |
| Perl | Lib Return a fresh LibTmux::SessionSelection in captured order. Empty loaded collections yield empty selections; unloaded collections throw. | Reads captured membership locally, preserving order. |
| Raku | Lib Captured sessions in acquisition order; reading performs no I/O. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.