# common.DaemonEpoch

- **Module:** common
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/common.ts#L73
- **Page:** https://libtmux.org/en/ts/latest/reference/common-daemonepoch/

Which run of the daemon a handle came from, counted from zero.

A restarted tmux on the same socket issues `%0` again to a different pane,
so an id from the previous run names nothing. Comparing epochs is what
catches that, and it is why {@link SessionRef} and friends carry one.
