RetryCallback

typealias RetryCallback = (err: Throwable, attempt: Int, nextBackOff: Duration) -> Unit

Callback function to notify the execution of retry logic.