on Complete
fun onComplete(hook: (attempts: Int, durationMs: Long, outcome: PollingOutcome<T>) -> Unit): PollingConfigBuilder<T>
Hook invoked once with the terminal outcome, total attempts, and elapsed time.
Hook invoked once with the terminal outcome, total attempts, and elapsed time.