PaginatedIterable

fun <T> PaginatedIterable(pageSize: Int, countGetter: () -> Long, paginationResultGetter: Pagination.() -> PaginationResult<T>)