LibTmux.Server.HasSessionAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- Other languages
- Python Ruby Lua TypeScriptRustGoJava C++ Swift
- HasSessionAsync ( target : string , exact : bool , cancellationToken : CancellationToken ) Task<bool>
-
Reports whether a session exists.
- Parameters
-
-
target ( string ) – The session to look for.
-
exact ( bool ) – Whether the name must match in full.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
True when tmux reports the session.
Discussed in Attaching to tmux
In other ports Whether a session with this name exists
- Python
libtmux.Server.has_session - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.hasSession - Rust
server.Server.has_session - Go
tmux.Server.HasSession - Java
io.github.libtmux.Server.Server.hasSession - C++ no equivalent on
Server - Swift
Server.hasSession(_:)
0 declared, 0 inherited