Closed inexorabletash closed 1 year ago
do { const entries = await getNextBatch(); for (const entry of entries) { yield entry; } } while (entries.length > 0);
entries is not in scope for the while statement. Needs to be:
entries
while
let entries; do { entries = await getNextBatch(); for (const entry of entries) { yield entry; } } while (entries.length > 0);
entries
is not in scope for thewhile
statement. Needs to be: