onRetry

suspend fun onRetry(action: suspend (RetryEvent.RetryOnRetry) -> Unit): Job(source)

Executes the given action when a retry is attempted. The underlying event is emitted when a retry is attempted, before entering the delay phase.

See also