kotest-assertions / io.kotest.assertions.until / Interval / next

next

abstract fun next(count: Int): Duration

Returns the next delay as a Duration.

Parameters

count - The number of times the condition has been polled (evaluated) so far. Always a positive integer.

Return
The duration of the next poll interval