maxAwaitTime

abstract fun maxAwaitTime(maxAwaitTime: Long, timeUnit: TimeUnit): ChangeStreamFlow<TResult>

Sets the maximum await execution time on the server for this operation.

Return

this

Parameters

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