getDelay

abstract fun getDelay(attempt: Int): Long

Returns the delay in milliseconds to wait for after the given transaction attempt number.

Return

the delay in milliseconds.

Parameters

attempt

the attempt number, starting at 0 to compute the delay after the first failed attempt.