# libtmux::NotificationWatch::wait_for_notifications

- **Module:** libtmux::NotificationWatch
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/notification.hpp#L116
- **Page:** https://libtmux.org/reference/cxx/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.
