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

NotificationWatch.wait_for_notifications

Wait for this watch to have an event, for the stream to close, or for the deadline.

Source and package
Qualified name
libtmux::NotificationWatch::wait_for_notifications
Namespace
libtmux
Declared in
NotificationWatch
Package
libtmux-cxx
Source
include/libtmux/notification.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::vector<Notification> wait_for_notifications( std::chrono::steady_clock::time_point deadline);

Description#

An empty result means one of the latter two happened.

Esc

Type to search.

Reference previewOpen reference