Client.session
The session this client was attached to when captured. A pure read of the capture.
Source and package
- Qualified name
-
io.github .libtmux .kotlin .Client. session - Package
- io.github.libtmux.kotlin
- Declared in
Client- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Client.kt
In other ports
task equivalence 12 other ports mappedSource-verified mappings for The session a client is attached to. 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 Kotlin |
|---|---|---|
| Kotlin | io The session this client was attached to when captured. A pure read of the capture. | This page |
| Ruby | Lib Behavior: Captured records. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | client The session this client is attached to, if it is still attached. | None recorded in the model |
| Rust | client The session this client is attached to. | async |
| Go | tmux AttachedSession returns the materialized attached session, if present in the same snapshot. It never queries tmux. | None recorded in the model |
| Java | io The session this client was attached to when captured. A pure read of the capture. | None recorded in the model |
| Scala | io The session this client was attached to, if any. | 2 overloads |
| C# | Lib Reads the session this client is attached to now. | async |
| C++ | libtmux:: | readonly |
| OCaml | Libtmux None means the captured client has no attached session. | Returns the captured session when the attached client had one. |
| Perl | Lib LibTmux::Session entity or undef. Local captured data; no I/O. | Captured nullable relation; unloaded data remains an error. |
| Raku | Lib The observed associated session, resolved without I/O. | None recorded in the model |
client_session is a session name, not a Session object
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
the relationship is resolved through Snapshot.session(of:)
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.