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

Extensions for io.vertx.servicediscovery.ServiceDiscovery

getRecordAwait

suspend fun ServiceDiscovery.getRecordAwait(filter: JsonObject): Record?
suspend fun ServiceDiscovery.getRecordAwait(filter: (Record) -> Boolean): Record?
suspend fun ServiceDiscovery.getRecordAwait(filter: (Record) -> Boolean, includeOutOfService: Boolean): Record?

Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecord

getRecordsAwait

suspend fun ServiceDiscovery.getRecordsAwait(filter: JsonObject): List<Record>
suspend fun ServiceDiscovery.getRecordsAwait(filter: (Record) -> Boolean): List<Record>
suspend fun ServiceDiscovery.getRecordsAwait(filter: (Record) -> Boolean, includeOutOfService: Boolean): List<Record>

Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecords

publishAwait

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

Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.publish

unpublishAwait

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

Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.unpublish

updateAwait

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

Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.update