maxTime

fun maxTime(maxTime: Long, timeUnit: TimeUnit = TimeUnit.MILLISECONDS): DistinctFlow<T>

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

Return

this

Parameters

maxTime

the max time

timeUnit

the time unit, which defaults to Milliseconds