fun maxAwaitTime(maxAwaitTime: Long, timeUnit: TimeUnit): CoroutineAggregatePublisher<T>
(source)
The maximum amount of time for the server to wait on new documents to satisfy a $changeStream
aggregation.
A zero value will be ignored.
maxAwaitTime
- the max await time
timeUnit
- the time unit to return the result in
Return
the maximum await execution time in the given time unit
Mongodb
.server.release 3.6
Since
1.6