onSuccess

suspend fun onSuccess(action: suspend (RetryEvent.RetryOnSuccess) -> Unit): Job(source)

Executes the given action when a retry is successful. The underlying event is emitted when the operation is completed successfully after a retry.

See also