max Await Time
abstract fun maxAwaitTime(maxAwaitTime: Long, timeUnit: TimeUnit): ChangeStreamFlow<TResult>
Content copied to clipboard
Sets the maximum await execution time on the server for this operation.
Return
this
Parameters
max Await Time
the max await time. A zero value will be ignored, and indicates that the driver should respect the server's default value
time Unit
the time unit, which may not be null