On this page
io.github.libtmux.control.ControlClient.ControlClient.watch
- Module
- io.github.libtmux.control.ControlClient
- Declared in
- ControlClient
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/control/ControlClient.java
-
Asks tmux to report a format whenever its value changes.
<p>tmux re-expands the format about once a second and writes a
subscription-changedevent only when the result differs from last time, so the comparison happens in the server and a client that subscribes does nothing at all between changes. This is what makes watching a server cost nothing while it is idle.
0 declared, 0 inherited