foldResponse

inline suspend fun <T, R> Deferred<Response<out T>>.foldResponse(success: Response.Success<T>.() -> R, failure: Response.Failure.() -> R): R