LibTmux.Mcp.TmuxConnectionAccessor.GetAsync
- async Task<Server> GetAsync( string? socket
Name = null, CancellationToken cancellationToken = default ) -
Answers a server, connecting on the first ask for that socket.
- Parameters
-
-
socketName(string?) – The socket, or null for the configured default.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
The server.
- Errors
-
-
Mcp
Exception – tmux could not be reached. -
Tmux
Version – The daemon is below the minimum tmux.Too Low Exception
-