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

CommandRuntime.discard_ready

Releases ready observer obligations without invoking callbacks.

Source and package
Qualified name
libtmux::CommandRuntime::discard_ready
Namespace
libtmux
Declared in
CommandRuntime
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]] std::size_t discard_ready();

Description#

Only one dispatch or discard call runs at once; competitors return zero.

Esc

Type to search.

Reference previewOpen reference