onIdleSuspend

suspend fun <T> ApiResult<T>.onIdleSuspend(function: suspend () -> Unit): ApiResult<T>