method libtmux-dotnet latest
Client.GetAttachedSessionAsync
Reads the session this client is attached to now.
Source and package
- GetAttachedSessionAsync ( cancellationToken : Cancellation
Token ) Task<Session?> -
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The session, or null when the client is attached to none.
In other ports The session a client is attached to
- Python client_session is a session name, not a Session object
- Ruby
LibTmux::ClientSnapshot#session - Lua
libtmux.SnapshotClient.session - TypeScript
client.Client.session - Rust
client.Client.attached_session - Go
tmux.Client.AttachedSession - Java
io.github.libtmux.Client.session - C++
libtmux::Client::session - Swift the relationship is resolved through Snapshot.session(of:)
- Kotlin
io.github.libtmux.kotlin.Client.session - Scala
io.github.libtmux.scaladsl.Client.session - F# No source-verified F# equivalent is recorded for this operation.