Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

tmux_server:close/1

Retire this endpoint's operations and one-shot clients, preserving the borrowed tmux server. Returns ok only after their cleanup completes; incomplete cleanup remains an explicit error. Closing an already closed retained handle is idempotent. The initiator controls endpoint lifetime. Separate control attachments are invalidated and asked to retire; use tmux_control:close/1 before this call to verify those clients' cleanup too.

Source and package
Qualified name
tmux_server:close/1
Declared in
tmux_server
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_server.erl
close(Server) -spec close(t()) -> ok | {error, map()}.
Parameters

Guides#

Pages that discuss close/1.

Esc

Type to search.

Reference previewOpen reference