()
| 234 | } |
| 235 | |
| 236 | async function start() { |
| 237 | startOngoingFetch() |
| 238 | await initialFetch() |
| 239 | |
| 240 | if (buffer.length) { |
| 241 | begin() |
| 242 | for (const msg of buffer) write(msg) |
| 243 | commit() |
| 244 | buffer.length = 0 |
| 245 | } |
| 246 | |
| 247 | markReady() |
| 248 | } |
| 249 | |
| 250 | start() |
| 251 |
no test coverage detected