fun maxTime(maxTime: Long, timeUnit: TimeUnit): CoroutineMapReducePublisher<T>
(source)
Sets the maximum execution time on the server for this operation.
timeUnit
- the time unit, which may not be null
Return
this
Mongodb
.driver.manual reference/method/cursor.maxTimeMS/#cursor.maxTimeMS Max Time