Snapshot.sessions
Captured sessions in acquisition order; reading performs no I/O.
Source and package
- Qualified name
-
LibTmux:: Model:: Snapshot. sessions - Module
- LibTmux::Model
- Declared in
Snapshot- Package
- LibTmux
- Source
- lib/LibTmux/Model.rakumod
- Other languages
- Perlmethod Erlangfunction PowerShellcmdlet Juliafunction Elixirfunction Haskell Common Lispfunction PythonRubyLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamlfunction F#function Clojurefunction
- method sessions(--> Session
Selection: )D -
Description#
Captured sessions in acquisition order; reading performs no I/O.
In other ports#
List the server’s sessions
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| PowerShell | Lib Acquires sessions through -Server, with optional exact -Id and -Name selectors. |
| Julia | Lib sessions reads membership from a captured Snapshot without contacting tmux. |
| Erlang | tmux Returns captured rows without tmux I/O. |
| Elixir | Lib Returns a Selection of captured sessions without contacting tmux. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Common Lisp | libtmux: sessions returns a fresh vector from a captured snapshot without contacting tmux. |
| TypeScript | server |
| Rust | server |
| Go | tmux |
| Java | io |
| Clojure | libtmux Acquires a new captured graph and returns its session maps; acquisition failure throws. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib Builds a deferred session query on LibTmux.Server. Query.list acquires the results; it does not traverse the handle’s captured membership. |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux Reads an immutable array of already captured sessions without I/O. |
| Perl | Lib Reads captured membership locally, preserving order. |