Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

property libtmux-dotnet latest

TmuxCommand.RequiredGeneration

Namespace LibTmux.TmuxCommand.RequiredGeneration LibTmux

Gets the server generation this command's target belongs to.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxCommand
Package
LibTmux
Source
src/LibTmux/Chaining/TmuxCommand.cs
RequiredGeneration : ServerGeneration?
property [source]

Description#

A tmux ID such as %2 is only meaningful on the server that issued it; a restarted server reuses those IDs for different objects. A command built from an entity therefore records which server the entity was read from, and ExecuteAsync refuses to run it against a different one. Generation-bound dispatch never starts an absent daemon.

Null leaves dispatch endpoint-scoped, without a generation requirement.

Esc

Type to search.