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::Notification Watch:: 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.]] std::vector <Notification> wait_for_notifications( std::chrono:: deadline);steady _clock:: time _point -
Description#
An empty result means one of the latter two happened.
- Parameters