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

Extensions for io.vertx.servicediscovery.spi.ServicePublisher

publishAwait

suspend fun ServicePublisher.publishAwait(record: Record): Record

Publishes a record.

unpublishAwait

suspend fun ServicePublisher.unpublishAwait(id: String): Unit

Un-publishes a record.

updateAwait

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

Updates an existing record.