fetchAllPages

Function

Fetches all the pages in a search request

Parameters

Parameter Type Default Notes
searchFunc Required SearchFunction
opts Required ISearchOptions
limit Optional number -1
batchSize Optional number

Returns

Promise<SearchableType[]>

Function defined in common/src/items/fetch-all-pages.ts:15