waitFor

suspend fun <T> waitFor(options: waitForOptions = undefined.unsafeCast<Nothing>(), block: suspend CoroutineScope.() -> T): T(source)