vertx / io.vertx.kotlin.servicediscovery.spi / io.vertx.servicediscovery.spi.ServicePublisher / updateAwait

# updateAwait

`suspend fun ServicePublisher.updateAwait(record: Record): Record`

Updates an existing record.

### Parameters

`record` - the record

`resultHandler` - handler called when the operation has completed (successfully or not). In case of success, the passed record has a registration id required to modify and un-register the service.