()
| 1208 | })); |
| 1209 | }; |
| 1210 | const scheduleFlush = () => { |
| 1211 | if (flushTimer) return; |
| 1212 | flushTimer = setTimeout(() => { |
| 1213 | flushTimer = null; |
| 1214 | flushNow(); |
| 1215 | }, FLUSH_INTERVAL_MS); |
| 1216 | }; |
| 1217 | |
| 1218 | try { |
| 1219 | for await (const event of streamRequest(getUrls().GENERATE_REPORT_CHAT, { |
no test coverage detected