Paging Helpers
Functions
Fetches subsequent pages starting from an already-retrieved first Paging page and flattens all items into a single list, following Spotify's next URL until it runs out or maxPages is reached.
Fetches the first Paging page and then all subsequent pages, flattening all items into a single list, following Spotify's next URL until it runs out or maxPages is reached.
Fetches subsequent pages starting from an already-retrieved first page and flattens all items into a single list, following Spotify's next URL until it runs out or maxPages is reached.
Fetches the first page and then all subsequent pages, flattening all items into a single list, following Spotify's next URL until it runs out or maxPages is reached.
Fetches subsequent pages starting from an already-retrieved first CursorPaging page using the cursor after token, and flattens all items into a single list until the cursor runs out or maxPages is reached.
Fetches subsequent pages using a cursor (after token) rather than a next URL, and flattens all items into a single list until the cursor runs out or maxPages is reached.
Extracts limit/offset query parameters from a Spotify "next" page URL.
Builds a cold Flow that lazily fetches and emits items across all Paging pages, following Spotify's next URL until it runs out or maxPages is reached.
Builds a cold Flow that lazily fetches and emits items across all pages, following Spotify's next URL until it runs out or maxPages is reached.