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

getRecordsAwait

suspend fun ServiceDiscovery.getRecordsAwait(filter: JsonObject): List<Record>

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

Parameters

filter - the filter - see io.vertx.servicediscovery.ServiceDiscovery

Return

List

NOTE: This function has been automatically generated from io.vertx.servicediscovery.ServiceDiscovery using Vert.x codegen.

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

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

Parameters

filter - the filter, must not be null. To return all records, use a function accepting all records

Return

List

NOTE: This function has been automatically generated from io.vertx.servicediscovery.ServiceDiscovery using Vert.x codegen.

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

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

Parameters

filter - the filter, must not be null. To return all records, use a function accepting all records

includeOutOfService - whether or not the filter accepts OUT OF SERVICE records

Return

List

NOTE: This function has been automatically generated from io.vertx.servicediscovery.ServiceDiscovery using Vert.x codegen.