Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
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

function libtmux-elixir

Snapshot.sessions/1

Returns a materialized session selection without I/O.

Source and package
Qualified name
LibTmux.Snapshot.sessions/1
Module
LibTmux
Declared in
Snapshot
Package
libtmux
Source
lib/libtmux/snapshot.ex

Description

See the worked example.

Parameters

Recorded calls

source calls
No call edges in the Elixir model.

The Elixir 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.Snapshot.sessions/1.

Guides

task material

Pages that discuss sessions/1.

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 Elixir
Elixir LibTmux.Snapshot.sessions/1
Returns a materialized session selection without I/O.
This page
Python libtmux.Server.sessions
Sessions contained in server.
None recorded in the model
Ruby LibTmux::Server#list_sessions
Behavior: Live acquisition.
on Server
Lua libtmux.Snapshot.sessions None recorded in the model
PowerShell LibTmux\Get-TmuxSession
Read sessions with optional exact selectors.
free function
Acquires sessions through -Server, with optional exact -Id and -Name selectors.
Julia LibTmux.sessions free function
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.
free function
Returns captured rows without tmux I/O.
Common Lisp libtmux:sessions
Return a fresh vector of physical sessions in captured wire order. No I/O.
free function2 overloads
sessions returns a fresh vector from a captured snapshot without contacting tmux.
TypeScript server.Server.sessions
Every session on the server, read now.
asyncon Server
Rust server.Server.sessions
List every session on the server, preserving any failure.
asyncon Server
Go tmux.Server.Sessions
Sessions materializes the server's sessions. Failures, including ErrNoServer, remain errors rather than empty results.
on Server
Java io.github.libtmux.Server.sessions
The sessions this expression matches, captured now.
on Server2 overloads
Clojure libtmux.core/sessions!
Acquires captured sessions; acquisition failure throws.
free function
Acquires a new captured graph and returns its session maps; acquisition failure throws.
Kotlin io.github.libtmux.kotlin.Server.sessions
Every session, captured now.
asyncon Server2 overloads
Scala io.github.libtmux.scaladsl.Server.sessions
The sessions this expression matches, captured now.
on Server2 overloads
C# LibTmux.Server.Sessions
Gets the sessions this handle captured.
None recorded in the model
F# LibTmux.FSharp.Server.sessions
Queries every session.
free function
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.
on Serverreadonly
Swift Server.sessions()
Every session on this server, in tmux's own order.
asyncon Server
OCaml Libtmux.Snapshot.sessions free function
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