paged

suspend fun QueryBackend.paged(query: AdmittedQuery<PagedQuery>, totalLimit: Int? = null): PagedList<ObjectNode>

One page of query with its total as PagedQuery.total asks: page(Offset(offset, size)) with the exact total for TotalMode.EXACT, the total bounded by totalLimit for TotalMode.BOUNDED (exact when totalLimit is null), and none for TotalMode.NONE.