LibTmux.Server.GetSessionsAsync
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Collections.cs
- GetSessionsAsync ( cancellationToken : CancellationToken ) Task<IReadOnlyList<Session>>
-
Reads every session on this server.
A handle that has not found a live server yet discovers one first.
- Parameters
-
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
The sessions reported by a successful read.
- Raises
-
-
LibTmuxException – The listing failed, including an absent daemon.
-
Discussed in Traversal
0 declared, 0 inherited