suspend fun ServiceDiscovery.getRecordAwait(filter: JsonObject): Record?
Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecord
Return
NOTE: This function has been automatically generated from io.vertx.servicediscovery.ServiceDiscovery using Vert.x codegen.
suspend fun ServiceDiscovery.getRecordAwait(filter: (Record) -> Boolean): Record?
Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecord
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.getRecordAwait(filter: (Record) -> Boolean, includeOutOfService: Boolean): Record?
Suspending version of method io.vertx.servicediscovery.ServiceDiscovery.getRecord
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.