Server.SwitchClientAsync
Switches the caller's client to another session.
Source and package
- Qualified name
-
LibTmux .Server. Switch Client Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Clients.cs
- Task SwitchClientAsync( string target
Session , CancellationToken cancellationToken = default ) -
- Parameters
-
-
targetSession(string) – The session to switch to. -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.SwitchClientAsync.
tmux command
task materialThe tmux commands behind SwitchClientAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 4 other ports mappedSource-verified mappings for Switch a client to another session. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Switches the caller's client to another session. | This page |
| Python | libtmux Switch tmux client. | None recorded in the model |
| Go | tmux SwitchClient switches tmux's current client to targetSession. TargetSession is a validated session name rather than a stable identity; cancellation does not prove the switch did not occur. | None recorded in the model |
| OCaml | Libtmux Switch the client currently bearing this name to the bound session. Environment updates are disabled by default. This can move either a terminal client or a control client; it does not open a new terminal. | free function |
| Raku | Lib Switch session by ID. Updating the session environment is opt-in. | on ClientRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
no equivalent on Server
no equivalent on Server
no equivalent on Server
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.