Server.KillSessionAsync
Stops one session.
Source and package
- Qualified name
-
LibTmux .Server. Kill Session Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- async Task KillSessionAsync( string target, Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
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.KillSessionAsync.
tmux command
task materialThe tmux commands behind KillSessionAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 3 other ports mappedSource-verified mappings for End a session named from the server. 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 Stops one session. | This page |
| Python | libtmux Kill tmux session. | None recorded in the model |
| Go | tmux KillSession terminates the session selected by tmux target syntax. Pattern and prefix matching are deliberately left to tmux. Completed nonzero exits without stderr are ignored. Transport and context errors are delivery-ambiguous. | None recorded in the model |
| Java | io Ends the session with this name, and everything in it. | None recorded in the model |
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 direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.