Yields each page of items, fetching the next page as needed.
Fetches the first page of results along with the pagination state.
Yields each item across all pages, fetching the next page as needed.
Fetches every page and returns all items in a single array.
Fetches the next page of results using the nextPageCursor returned with a previous page.
Iterates over paginated results from Seam API list endpoints.
Create a SeamPaginator with the client's
createPaginatormethod. Fetch pages manually withfirstPageandnextPage, iterate over pages withfor await, iterate over items across all pages withflatten, or collect every item into a single array withflattenToArray.