Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

common.DaemonEpoch

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
common
Package
libtmux
Source
packages/libtmux/src/common.ts
DaemonEpoch
typealias [source]
typealias [source]
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 SessionRef and friends carry one.

0 declared, 0 inherited

Esc

Type to search.