waitUntilTrue
Suspends until the value is (or becomes) true, or the timeout expires.
Return
true if the value was true before the timeout, false if the timeout expired.
Parameters
timeoutDuration
the maximum duration to wait. Defaults to Duration.INFINITE.