Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

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

function libtmux-ocaml latest

Client.close

Retire the generation and close owned control clients and descriptors. Reject new submit and subscribe calls as soon as closing starts. Concurrent calls await the same teardown result. Later calls retain a teardown failure instead of treating the closed flag as success. Each helper gets 200 ms of TERM grace, followed by KILL if needed and reaping. Other fibers can run during that wait. The grace is per helper; it does not bound scheduling, filesystem or uninterruptible kernel work. No signal targets the daemon. tmux's exit-unattached and exit-empty policies can end the daemon after its clients or sessions disappear.

Source and package
Qualified name
Libtmux_eio.Client.close
Module
Libtmux_eio
Declared in
Client
Package
libtmux-eio
Source
eio/libtmux_eio.mli
val close : t -> (unit, Libtmux.Error.t) result

Public owner: Libtmux_eio

Parameters
Esc

Type to search.

Reference previewOpen reference