vertx / io.vertx.reactivex.core.eventbus / MessageConsumer / unregister

unregister

open fun unregister(): Unit

Unregisters the handler which created this registration

open fun unregister(completionHandler: Handler<AsyncResult<Void>>): 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.