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