fun maxAwaitTime(maxAwaitTime: Long, timeUnit: TimeUnit): CoroutineChangeStreamPublisher<TResult>
(source)
Sets the maximum await execution time on the server for this operation.
maxAwaitTime
- the max await time. A zero value will be ignored, and indicates that the driver should respect the server's
default value
timeUnit
- the time unit, which may not be null
Return
this