Server.kill/2
Kills the server with kill-server, whoever started it.
Source and package
- Qualified name
-
LibTmux .Server. kill/2 - Module
- LibTmux
- Declared in
Server- Package
- libtmux
- Source
- lib/libtmux/server.ex
- kill(server, options \\ []) @spec kill(t(), [Lib
Tmux ()]) :: {:ok, LibTmux.Action.result(:ok)} | {:error, Lib.Action .option Tmux ()}.Action .error -
Description
Returns
{:ok, result}when tmux acknowledges the command and{:error, error}otherwise, for example when no server answers. The command ends every session and pane on the server. It does not remove the directory of a server fromstart/1; usestop/2for that. The only option istimeout(5000 ms by default). SeeLibTmux.Actionfor outcomes.alias LibTmux.Server
Server.kill(server)
- Parameters
-
-
options([LibTmux ()]).Action .option Default
[]
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.kill/2.
Guides
task materialPages that discuss kill/2.