consumeWith

abstract fun consumeWith(consumer: (EntityExchangeResult<B>) -> Unit): KotlinBodySpec<B>

Assert the exchange result with the given consumer.