Core Library0.xAPI reference

Choose documentation 1

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

method libtmux-scala

Client.session

The session this client was attached to when captured.

Source and package
Qualified name
io.github.libtmux.scaladsl.cats.Client.session
Package
io.github.libtmux.scaladsl.cats
Declared in
Client
Distribution
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
Scala extension methodsAdds methods callable on the receiver type without changing its definition.Language documentation [F[_]](self: Client[F])(using F: _root_.cats.effect.Async[F] ) Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation session: Option[Session[F]]
Type parameters

Recorded calls

source calls
No call edges in the Scala model.

The Scala 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 io.github.libtmux.scaladsl.cats.Client.session.

In other ports

task equivalence 12 other ports mapped

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

The session a client is attached to in each port
PortAPIDiffers from Scala
Scala io.github.libtmux.scaladsl.cats.Client.session
The session this client was attached to when captured.
This page
Ruby LibTmux::ClientSnapshot#session
Behavior: Captured records.
on ClientSnapshot
Lua libtmux.SnapshotClient.session None recorded in the model
TypeScript client.Client.session
The session this client is attached to, if it is still attached.
None recorded in the model
Rust client.Client.attached_session
The session this client is attached to.
async
Go tmux.Client.AttachedSession
AttachedSession returns the materialized attached session, if present in the same snapshot. It never queries tmux.
None recorded in the model
Java io.github.libtmux.Client.session
The session this client was attached to when captured. A pure read of the capture.
None recorded in the model
Kotlin io.github.libtmux.kotlin.Client.session
The session this client was attached to when captured. A pure read of the capture.
None recorded in the model
C# LibTmux.Client.GetAttachedSessionAsync
Reads the session this client is attached to now.
async
C++ libtmux::Client::session readonly
OCaml Libtmux.Client_observation.session
None means the captured client has no attached session.
free function
Returns the captured session when the attached client had one.
Perl LibTmux::Client::session
LibTmux::Session entity or undef. Local captured data; no I/O.
Captured nullable relation; unloaded data remains an error.
Raku LibTmux::Model::Client.session
The observed associated session, resolved without I/O.
None recorded in the model
No Python equivalent.

client_session is a session name, not a Session object

No Haskell equivalent.

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

No Swift equivalent.

the relationship is resolved through Snapshot.session(of:)

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.

Esc
Search in

Type to search.

Reference previewOpen reference