DaemonEpoch
Which run of the daemon a handle came from, counted from zero.
Source and package
- Qualified name
-
DaemonEpoch - Module
- common
- Package
- libtmux
- Source
- packages/libtmux/src/common.ts
-
Description#
A restarted tmux on the same socket issues
%0again to a different pane, so an id from the previous run names nothing. Comparing epochs is what catches that, and it is whySessionRefand friends carry one.