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.

method libtmux-rs latest

BlockResult.number

Return the block number tmux assigned.

Source and package
Qualified name
libtmux::control::BlockResult::number
Module
control
Declared in
BlockResult
Package
libtmux
Source
crates/libtmux/src/control.rs
#[must_use] pub const fn number(&self) -> u64

Description#

tmux assigns this, and correlation uses it rather than counting commands: a command that fails early can leave a caller waiting forever for a block tmux will never send.

Esc

Type to search.

Reference previewOpen reference