WindowedFetchFunction
WindowedFetchFunction<
T> = (cursor,createdTimeCursor) =>Promise<PaginatedList<T>>
Defined in: src/helpers/pagination.helpers.ts:221
Fetch function for windowed row collection. It extends
PaginatedFetchFunction with a second parameter: the ISO 8601
created_time lower bound for the next window. This parameter appears only
after the previous window hits the query result limit
(request_status.type === 'incomplete'). Merge this bound into your own
created_time-ascending query, for example
filter.createdTime().onOrAfter(createdTimeCursor).
Type Parameters
Section titled “Type Parameters”T extends object
Parameters
Section titled “Parameters”cursor
Section titled “cursor”string | undefined
createdTimeCursor
Section titled “createdTimeCursor”string | undefined
Returns
Section titled “Returns”Promise<PaginatedList<T>>