Fetches all pages of results for the given endpoint and parameters.
This is a generator function that yields each page as it is fetched.
endpoint The endpoint to fetch.
initialParams The initial parameters to use for the endpoint.
requestOptions The options to use when making requests.
limit The maximum number of pages to fetch.
An array of all results.
The next page of results.
Fetches all pages of results for the given endpoint and parameters. This is a generator function that yields each page as it is fetched.
endpoint The endpoint to fetch. initialParams The initial parameters to use for the endpoint. requestOptions The options to use when making requests. limit The maximum number of pages to fetch. An array of all results. The next page of results.