findAllWithTimeout

abstract fun findAllWithTimeout(scope: CoroutineScope, rootXpath: String, timeout: Long, predicate: (CoroutineScope, String) -> Deferred<Boolean>): Deferred<List<String>>

带超时的深度优先查找,匹配所有节点。

Parameters

timeout

超时时间(毫秒),超时后返回空列表。