vertx / io.vertx.kotlin.kafka.client.producer / io.vertx.kafka.client.producer.KafkaProducer / closeAwait

# closeAwait

`suspend fun <K, V> KafkaProducer<K, V>.closeAwait(): Unit`

Suspending version of method io.vertx.kafka.client.producer.KafkaProducer.close

NOTE: This function has been automatically generated from io.vertx.kafka.client.producer.KafkaProducer using Vert.x codegen.

`suspend fun <K, V> KafkaProducer<K, V>.closeAwait(timeout: Long): Unit`

Suspending version of method io.vertx.kafka.client.producer.KafkaProducer.close

### Parameters

`timeout` -

timeout to wait for closing

NOTE: This function has been automatically generated from io.vertx.kafka.client.producer.KafkaProducer using Vert.x codegen.