()
| 1271 | } |
| 1272 | |
| 1273 | close(): void { |
| 1274 | this.closed = true |
| 1275 | this.generation++ |
| 1276 | this.queue.clear() |
| 1277 | } |
| 1278 | |
| 1279 | // Returns the next entry header, or `undefined` once the entries and the |
| 1280 | // input have ended. Input after the entries is discarded. |