Core LibraryunreleasedAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function LibTmux.jl

sessions

Source and package
Qualified name
LibTmux.sessions
Module
LibTmux
Package
LibTmux
Source
src/model.jl

Methods

Return the sessions in snapshot as a Selection of SessionSnapshot values. This reads the capture and never contacts tmux. Raises SnapshotCoverageError when the capture does not include sessions.

sessions(snapshot::Snapshot)
Parameters

Recorded calls

source calls
No call edges in the Julia model.

The Julia 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.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 Julia
Julia LibTmux.sessions 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.
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
C# LibTmux.Server.Sessions
Gets the sessions this handle captured.
None recorded in the model
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