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