| 1755 | |
| 1756 | struct State { |
| 1757 | State(internal::Executor* io_executor, Iterator<T> it, int max_q, int q_restart) |
| 1758 | : io_executor(io_executor), |
| 1759 | max_q(max_q), |
| 1760 | q_restart(q_restart), |
| 1761 | it(std::move(it)), |
| 1762 | reading(false), |
| 1763 | finished(false), |
| 1764 | should_shutdown(false) {} |
| 1765 | |
| 1766 | void ClearQueue() { |
| 1767 | while (!queue.empty()) { |
nothing calls this directly
no outgoing calls
no test coverage detected