Core LibraryalphaAPI 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-cxx latest

CommandOperation.wait_until

True means the result can be taken; false means only this wait expired.

Source and package
Qualified name
libtmux::CommandOperation::wait_until
Namespace
libtmux
Declared in
CommandOperation
Package
libtmux-cxx
Source
include/libtmux/async.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] expected<bool, CommandFailure> wait_until( std::chrono::steady_clock::time_point deadline) const;

Description#

Neither outcome consumes the handle or changes the command's deadline. A consumed or moved-from handle reports FailureKind::validation.

Guides#

Pages that discuss wait_until.

Esc

Type to search.

Reference previewOpen reference