batchSize

abstract fun batchSize(batchSize: Int): AggregateFlow<TResult>

Sets the number of documents to return per batch.

Overrides the org.reactivestreams.Subscription.request value for setting the batch size, allowing for fine grained control over the underlying cursor.

Return

this

Since

1.8

Parameters

batchSize

the batch size