libtmux::NotificationWatch
C++
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++
- Swift Unavailable
- Module
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/notification.hpp
-
One independent view of outside-block events emitted after opening.
Taking from one watch never drains another watch or the Connection's legacy event queue. The retained log is shared and bounded; this watch's dropped count reports only events this watch actually missed.
A watch retains the stream state. It can drain already-buffered events after its Connection is moved or destroyed; waits then wake as a closed stream.
6 declared, 0 inherited
Members
- ~NotificationWatch method
- dropped_notifications method Events evicted before this watch took them, excluding events consumed by other cursors and events emitted before this watch opened.
- notification_fd method Readable when this watch has something to take or its stream has closed.
- NotificationWatch method
- take_notifications method Everything this watch has not taken yet, returned without waiting.
- wait_for_notifications method Wait for this watch to have an event, for the stream to close, or for the deadline.