vertx / io.vertx.kotlin.servicediscovery / io.vertx.servicediscovery.ServiceDiscovery / updateAwait

updateAwait

suspend fun ServiceDiscovery.updateAwait(record: Record): Record

Updates the given record. The record must has been published, and has it's registration id set.

Parameters

record - the updated record

resultHandler - handler called when the lookup has been completed.