Same pagination as infinityFetch, but yields one page at a time instead of
collecting everything — memory stays flat no matter how many pages there are.
Breaking out of the loop stops the pagination; onEnd still runs, with the counts
gathered up to that point.
Same pagination as infinityFetch, but yields one page at a time instead of collecting everything — memory stays flat no matter how many pages there are.
Breaking out of the loop stops the pagination;
onEndstill runs, with the counts gathered up to that point.