A single page of results with lazy auto-pagination.
Use WorkOS.Page.stream/1 to lazily iterate every item across all pages.
Summary
Functions
The cursor for the next page, or nil when this is the last page.
Whether another page is available.
Lazily streams every item across all pages, fetching pages on demand.
Types
Functions
The cursor for the next page, or nil when this is the last page.
Whether another page is available.
@spec stream(t(item)) :: Enumerable.t() when item: term()
Lazily streams every item across all pages, fetching pages on demand.
Stops if a page fetch fails; use explicit pagination when you need to distinguish errors from the end of the collection.