suspend fun ServiceDiscovery.getRecordAwait(filter: JsonObject): Record?
Lookups for a single record.
suspend fun ServiceDiscovery.getRecordAwait(filter: Function<Record, Boolean>): Record?
Lookups for a single record.
filter - the filter, must not be null. To return all records, use a function accepting all records
suspend fun ServiceDiscovery.getRecordAwait(filter: Function<Record, Boolean>, includeOutOfService: Boolean): Record?
Lookups for a single record.
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