paginate

open override fun paginate(page: Int, pageSize: Int): AggregationPipeline<PagedResult<T>>

Paginate result of previous stages output