vertx / io.vertx.kotlin.amqp / io.vertx.amqp.AmqpClient / createReceiverAwait

# createReceiverAwait

`suspend fun AmqpClient.createReceiverAwait(address: String): AmqpReceiver`

Suspending version of method io.vertx.amqp.AmqpClient.createReceiver

### Parameters

`address` - The source address to attach the consumer to, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpClient using Vert.x codegen.

`suspend fun AmqpClient.createReceiverAwait(address: String, messageHandler: (AmqpMessage) -> Unit): AmqpReceiver`

Suspending version of method io.vertx.amqp.AmqpClient.createReceiver

### Parameters

`address` - The source address to attach the consumer to, must not be null

`messageHandler` - The message handler, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpClient using Vert.x codegen.

`suspend fun AmqpClient.createReceiverAwait(address: String, receiverOptions: AmqpReceiverOptions, messageHandler: (AmqpMessage) -> Unit): AmqpReceiver`

Suspending version of method io.vertx.amqp.AmqpClient.createReceiver

### Parameters

`address` - The source address to attach the consumer to.

`receiverOptions` - The options for this receiver.

`messageHandler` - The message handler, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpClient using Vert.x codegen.