poll Until Non Null
open override fun <A> pollUntilNonNull(pollName: String, pollInterval: Duration, warnCount: Int, check: () -> A?): CordaFuture<A>
Polls a function until it returns a non-null value. Note that there is no timeout on the polling.
Return
A future that completes with the non-null value check has returned.
Parameters
poll Name
A description of what is being polled.
poll Interval
The interval of polling.
warn Count
The number of polls after the Driver gives a warning.
check
The function being polled.