poll
fun <A> poll(executorService: ScheduledExecutorService, pollName: String, pollInterval: Duration = 500.millis, warnCount: Int = 120, check: () -> A?): CordaFuture<A>
Parameters
poll Interval
the interval running the background task.
warn Count
number of iterations to poll before printing a warning message.