retrofit-mock / retrofit2.mock / Calls / defer

defer

static fun <T : Any!> defer(callable: Callable<Call<T>!>!): Call<T>!

Invokes callable once for the returned Call and once for each instance that is obtained from cloning the returned Call.