Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

property libtmux-dotnet

TmuxCommand.RequiredGeneration

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

Source and package
Qualified name
LibTmux.TmuxCommand.RequiredGeneration
Namespace
LibTmux
Declared in
TmuxCommand
Package
LibTmux
Source
src/LibTmux/Chaining/TmuxCommand.cs
RequiredGeneration : ServerGeneration?

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
Search in

Type to search.

Reference previewOpen reference