fun batchSize(batchSize: Int): CoroutineListIndexesPublisher<T>
(source)
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
Mongodb
.driver.manual reference/method/cursor.batchSize/#cursor.batchSize Batch Size