Server.new/1
Constructs a descriptor for an existing server without connecting or creating it.
Source and package
- Qualified name
-
LibTmux .Server. new/1 - Module
- LibTmux
- Declared in
Server- Package
- libtmux
- Source
- lib/libtmux/server.ex
-
Description
:socketselects the socket by path and:socket_nameby name; pass at most one. With neither, the descriptor readsLIBTMUX_SOCKET_PATH, thenLIBTMUX_SOCKET, from:env, and selects no socket when neither is set, so tmux uses its default. See "Choosing the server" in the module documentation. RaisesArgumentErrorfor conflicting or invalid input, naming a variable but never its value.See the worked example.
Recorded calls
source callsThe Elixir 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.new/1.
Guides
task materialPages that discuss new/1.
- Concepts
- Examples
- Guides
- Topics