retrofit-mock / retrofit2.mock / NetworkBehavior / calculateDelay

calculateDelay

fun calculateDelay(unit: TimeUnit!): Long

Get the delay that should be used for delaying a response in accordance with configured behavior.