method libtmux-dotnet latest
Server.GetAttachedSessionsAsync
Reads every session with at least one attached client.
Source and package
- GetAttachedSessionsAsync ( cancellationToken : Cancellation
Token ) Task<IReadOnly <Session>>List -
Description#
A handle that has not found a live server yet discovers one first.
- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
The attached sessions reported by a successful read.
- Raises
-
-
Lib
Tmux – The listing failed, including an absent daemon.Exception
-
In other ports List the sessions a client is attached to
- Python
libtmux.Server.attached_sessions - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Server - Rust
server.Server.attached_sessions - Go no equivalent on
Server - Java
io.github.libtmux.Server.attachedSessions - C++ no equivalent on
Server - Swift no equivalent on
Server - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.