vertx / io.vertx.kotlin.core.eventbus / io.vertx.core.eventbus.MessageConsumer / unregisterAwait

# unregisterAwait

`suspend fun <T> MessageConsumer<T>.unregisterAwait(): Unit`

Unregisters the handler which created this registration

### Parameters

`completionHandler` - the handler called when the unregister is done. For example in a cluster when all nodes of the event bus have been unregistered.