On this page
LibTmux.Server.HasSessionAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- 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.
0 declared, 0 inherited