Server.StartServerAsync
Starts the tmux server without creating a session.
Source and package
- Qualified name
-
LibTmux .Server. Start Server Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- async Task StartServerAsync( Cancellation
Token cancellationToken = default ) -
Description
No handle comes back because there may be nothing to describe: a tmux server holding no sessions exits as soon as it starts. Materialize with
ConnectAsync()once a session exists.- 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.StartServerAsync.
tmux command
task materialThe tmux commands behind StartServerAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 6 other ports mappedSource-verified mappings for Start the server without creating a 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 Starts the tmux server without creating a session. | This page |
| Python | libtmux Start the tmux server via $ tmux start-server. | None recorded in the model |
| Erlang | tmux Start an empty owned daemon in a fresh private Linux socket directory. Performs I/O and waits for bounded startup; no session or attached observer is created. Returns an ordinary endpoint and a separate ownership/0 token. The caller owns the daemon lifetime: caller death or stop_owned/1 retires its helper tree. close/1 only closes the endpoint and preserves the daemon. | free function Starts a private daemon and returns an ownership token. |
| Rust | server Start a tmux server without creating a session. | None recorded in the model |
| Go | tmux Start starts the configured tmux server. It is idempotent when that server is already running. Completed stderr is an error; cancellation does not prove that a daemon was not started. | None recorded in the model |
| Swift | Server Starts the server if it is not already running. | None recorded in the model |
| Raku | Lib Start an owned foreground daemon on a fresh private socket and create its first session. | Starts an owned private daemon; close stops only an owned incarnation. |
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 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 equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.