Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

property libtmux-dotnet

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

Guides

task material

Pages that discuss Sessions.

In other ports

task equivalence 21 other ports mapped

Source-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.

List the server’s sessions in each port
PortAPIDiffers from C#
C# LibTmux.Server.Sessions
Gets the sessions this handle captured.
This page
Python libtmux.Server.sessions
Sessions contained in server.
None recorded in the model
Ruby LibTmux::Server#list_sessions
Behavior: Live acquisition.
None recorded in the model
Lua libtmux.Snapshot.sessions None recorded in the model
PowerShell LibTmux\Get-TmuxSession
Read sessions with optional exact selectors.
Acquires sessions through -Server, with optional exact -Id and -Name selectors.
Julia LibTmux.sessions
sessions reads membership from a captured Snapshot without contacting tmux.
Erlang tmux_snapshot:sessions/1
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 LibTmux.Snapshot.sessions/1
Returns a materialized session selection without I/O.
Returns a Selection of captured sessions without contacting tmux.
Common Lisp libtmux:sessions
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.Server.sessions
Every session on the server, read now.
async
Rust server.Server.sessions
List every session on the server, preserving any failure.
async
Go tmux.Server.Sessions
Sessions materializes the server's sessions. Failures, including ErrNoServer, remain errors rather than empty results.
None recorded in the model
Java io.github.libtmux.Server.sessions
The sessions this expression matches, captured now.
2 overloads
Clojure libtmux.core/sessions!
Acquires captured sessions; acquisition failure throws.
Acquires a new captured graph and returns its session maps; acquisition failure throws.
Kotlin io.github.libtmux.kotlin.Server.sessions
Every session, captured now.
async2 overloads
Scala io.github.libtmux.scaladsl.Server.sessions
The sessions this expression matches, captured now.
2 overloads
F# LibTmux.FSharp.Server.sessions
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::Server::sessions
One snapshot each.
readonly
Swift Server.sessions()
Every session on this server, in tmux's own order.
async
OCaml Libtmux.Snapshot.sessions
Reads an immutable array of already captured sessions without I/O.
Perl LibTmux::Snapshot::sessions
Return a fresh LibTmux::SessionSelection in captured order. Empty loaded collections yield empty selections; unloaded collections throw.
Reads captured membership locally, preserving order.
Raku LibTmux::Model::Snapshot.sessions
Captured sessions in acquisition order; reading performs no I/O.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

Esc
Search in

Type to search.

Reference previewOpen reference