Snapshot.clients/1
Returns a materialized attached-client selection without I/O.
Source and package
- Qualified name
-
LibTmux .Snapshot. clients/1 - Module
- LibTmux
- Declared in
Snapshot- Package
- libtmux
- Source
- lib/libtmux/snapshot.ex
- clients(snapshot) @spec clients(t()) :: Lib
Tmux (Lib.Selection .t Tmux ()).Client .t -
Description
See the worked example.
Recorded calls
source callsThe 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.clients/1.
In other ports
task equivalence 19 other ports mappedSource-verified mappings for List the server's attached clients. 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 Elixir |
|---|---|---|
| Elixir | Lib Returns a materialized attached-client selection without I/O. | This page |
| Python | libtmux Clients attached to this tmux server. | None recorded in the model |
| Ruby | Lib Behavior: Live acquisition. | on Server |
| PowerShell | Lib Read the clients attached to a tmux server. | free function Acquires attached clients through -Server and returns shared .NET LibTmux.Client objects. |
| Julia | Lib | free function |
| Common Lisp | libtmux: Return a fresh vector of attached-client observations, without I/O.
Preserve listing order and multiplicity, including repeated target names. | free function3 overloads clients returns fresh attached-client observations from a retained snapshot. |
| TypeScript | server Every client attached to the server. | asyncon Server |
| Rust | server List every client attached to the server, preserving any failure. | asyncon Server |
| Go | tmux Clients materializes attached clients. Failures, including ErrNoServer, remain errors rather than empty results. | on Server |
| Java | io Captures every attached client. | on Server |
| Clojure | libtmux Acquires captured clients. | free function |
| Kotlin | io Captures every attached client. | asyncon Server |
| Scala | io Captures every attached client. | on Server |
| C# | Lib Gets the clients this handle captured. | None recorded in the model |
| F# | Lib Queries attached clients. | free function Builds a deferred client query on the shared .NET LibTmux.Server. Query.list acquires attached clients. |
| C++ | libtmux:: | on Serverreadonly |
| Swift | Server Every client attached to this server. | asyncon Server |
| OCaml | Libtmux Collections and their contents are immutable. They retain capture order, are replayable and remain readable after the acquiring client closes. | free function Reads captured attached-client observations, separate from transport Client.t handles. |
| Perl | Lib Return a fresh LibTmux::ClientSelection in captured order. A loaded empty client set is valid. | Local captured client membership; Server::clients explicitly acquires a new graph. |
| Raku | Lib Captured attached clients with their observed process and creation identity. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No equivalent is recorded in Lua or Erlang.