Initial parameters for the first request
Returns true when no more pages should be fetched
Returns the params for the next page request
Extracts items from a single page response
OptionalonOptional: called once before the first fetch starts
OptionalonOptional: called once after all pages have been fetched
OptionalonOptional: called after each page is fetched
OptionalmaxOptional: maximum number of pages to fetch (safety limit)
OptionaldelayOptional: milliseconds to wait between each page fetch
OptionalretryOptional: retry failed page fetches
OptionalsignalOptional: signal to abort pagination early and return partial results
The function that fetches a single page