Paginated Iterable
constructor(pageSize: Int, countGetter: () -> Long, paginationResultGetter: Pagination.() -> PaginationResult<T>)(source)
Parameters
page Size
The size of each page to fetch
count Getter
A function that returns the total count of available items
pagination Result Getter
A function that fetches a page of results for a given pagination
Type Parameters
T
The type of items being iterated