vertx / io.vertx.kotlin.rabbitmq / io.vertx.rabbitmq.RabbitMQClient / basicConsumerAwait

# basicConsumerAwait

`suspend fun RabbitMQClient.basicConsumerAwait(queue: String): RabbitMQConsumer`

### Parameters

`queue` -

`suspend fun RabbitMQClient.basicConsumerAwait(queue: String, options: QueueOptions): RabbitMQConsumer`

Create a consumer with the given options.

### Parameters

`queue` - the name of a queue

`options` - options for queue