waitFor

open fun waitFor(time: Double, unit: Time): T

Wait for a given magnitude and unit of time.

Return

The builder

Parameters

time

The time to wait

unit

The unit of the time


open fun waitFor(time: Measure<Time>): T

Wait for a given amount of time.

Return

The builder

Parameters

time

The amount of time to wait.