# libtmux::NotificationRange

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/control.hpp#L202
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-notificationrange/

Everything tmux says, until the deadline, as one loop.

Draining by hand is two nested loops and a break: ask for a batch, stop if it is empty, walk it, ask again. That shape was written six times across this repository's own tests and examples before this existed, which is the argument for it.

An input range, single pass. A `ParsedNotification` views the notification it was read from, and this owns that notification only until the iterator advances — so copy what you need out of one before asking for the next.

## Members

- `NotificationRange` (method)
- `begin` (method)
- `end` (method)
