How to Use Generators – batching, cancellation, pause/resume | Hacker News Reader