suspend fun ServiceDiscovery.getRecordsAwait(filter: JsonObject): List<Record>
Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecords
filter
- the filter - see io.vertx.servicediscovery.ServiceDiscovery
Return
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
filter
- the filter, must not be null. To return all records, use a function accepting all records
Return
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
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
NOTE: This function has been automatically generated from io.vertx.servicediscovery.ServiceDiscovery using Vert.x codegen.