Server.KillAsync
Stops the tmux server.
Source and package
- Qualified name
-
LibTmux .Server. Kill Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- async Task KillAsync( Cancellation
Token cancellationToken = default ) -
Description
A server that is already gone is the requested outcome, so an absent daemon succeeds rather than failing.
- 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.KillAsync.
tmux command
task materialThe tmux commands behind KillAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss KillAsync.
In other ports
task equivalence 14 other ports mappedSource-verified mappings for Shut the tmux server down. 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 the tmux server. | This page |
| Python | libtmux Kill tmux server. | None recorded in the model |
| Ruby | Lib Behavior: Killing daemons. | None recorded in the model |
| Erlang | tmux Stop the daemon and endpoint associated with a ownership/0 token. Performs I/O and returns ok only after endpoint/client/helper retirement and namespace cleanup are proved. It never sends kill-server to a socket path. | free function Requires the ownership token for a library-owned daemon. Closing a borrowed endpoint preserves its daemon. |
| TypeScript | server Terminate the tmux server and every session on it. | None recorded in the model |
| Rust | server Stop the tmux daemon at this endpoint. | None recorded in the model |
| Go | tmux Kill terminates the configured tmux server and all of its sessions, windows, panes, and clients. After a completed failed kill, a liveness probe makes repeated calls harmless when no daemon answers. Transport or context errors can be delivery-ambiguous; no rollback is attempted. | None recorded in the model |
| Java | io Ends the tmux server and every session on it. | 2 overloads |
| Clojure | libtmux Kills the explicit tmux server; close! only releases local resources. | free function |
| Kotlin | io Ends the tmux server and every session on it. | 2 overloads |
| Scala | io Ends the tmux server and every session on it. | 2 overloads |
| C++ | libtmux:: End the server and everything in it. | readonly |
| Swift | Server | None recorded in the model |
| Perl | Lib kill_server(). | Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Explicitly terminate this observed daemon. Owned callers must still close to join cleanup. | Explicitly terminates the observed daemon. Owned callers still close to join cleanup. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
Client.close releases transport resources. The public client API does not terminate a borrowed tmux daemon.
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp or F#.