qb
2.0.0.0
C++17 Actor Framework
|
Event triggered when all buffered data has been successfully written and sent to an output stream. More...
#include <eos.h>
Event triggered when all buffered data has been successfully written and sent to an output stream.
This event is passed to the derived class's on(qb::io::async::event::eos&&) method when the output buffer for an I/O object (e.g., TCP socket) becomes empty after a write operation. It signifies that all data previously queued for sending via publish() or operator<< has been flushed to the underlying transport.
This is often used to signal completion of a data transfer or to manage flow control (e.g., stop listening for write readiness on the socket until more data is available).
Usage Example: