Skip to main content

Interface: PageIterator<T>

A list you can walk. Iterating it gives you the items one by one, across pages; pages hands over whole pages, and toArray collects everything. Each of the three starts a fresh walk from the first page.

Extends​

  • AsyncIterable<T>

Type Parameters​

T​

T

Methods​

pages()​

pages(): AsyncIterableIterator<Page<T>>

Returns​

AsyncIterableIterator<Page<T>>


toArray()​

toArray(): Promise<T[]>

Returns​

Promise<T[]>