# libtmux::NotificationWatch::wait_for_notifications

- **Module:** libtmux::NotificationWatch
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/notification.hpp#L139
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-notificationwatch-wait_for_notifications/

```
libtmux::NotificationWatch::wait_for_notifications(deadline: std::chrono::steady_clock::time_point) -> std::vector< Notification >
```

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

An empty result means one of the latter two happened.
