spinUntil

inline fun spinUntil(condition: () -> Boolean)
inline fun spinUntil(timeoutMs: Long, condition: () -> Boolean): Boolean