Walks every page of a paginated CUBE list, yielding one step per page.
This is the one pagination loop: it owns offset advancement, total
latching, and termination, so callers only consume rows. The walk ends
when a page comes back empty, when the latched total has been reached, or
when a short page arrives while the total is still unknown. Fetch errors
propagate to the caller; a resumed walk continues from startOffset.
Walks every page of a paginated CUBE list, yielding one step per page.
This is the one pagination loop: it owns offset advancement, total latching, and termination, so callers only consume rows. The walk ends when a page comes back empty, when the latched total has been reached, or when a short page arrives while the total is still unknown. Fetch errors propagate to the caller; a resumed walk continues from
startOffset.