Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

attribute libtmux-cxx latest

WaitOptions.observe_control_client

Called with the control client's process id when the wait opens one, and expected to answer a guard that the wait holds until it closes that connection.

Source and package
Qualified name
libtmux::WaitOptions::observe_control_client
Namespace
libtmux
Declared in
WaitOptions
Package
libtmux-cxx
Source
include/libtmux/wait.hpp
observe_control_client : std::function<std::shared_ptr<void>(std::int64_t pid)>

Description#

A caller that reports on attached clients needs this, or its own observation reads as somebody else being attached.

Esc

Type to search.

Reference previewOpen reference