vertx / io.vertx.kotlin.servicediscovery.types / RedisDataSource / getRedisClientAwait

# getRedisClientAwait

`suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: JsonObject): RedisClient`

Suspending version of method io.vertx.servicediscovery.types.RedisDataSource.getRedisClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

Return

RedisClient

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

`suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: (Record) -> Boolean): RedisClient`

Suspending version of method io.vertx.servicediscovery.types.RedisDataSource.getRedisClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, cannot be null

Return

RedisClient

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

`suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): RedisClient`

Suspending version of method io.vertx.servicediscovery.types.RedisDataSource.getRedisClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

`consumerConfiguration` - The additional consumer configuration

Return

RedisClient

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

`suspend fun getRedisClientAwait(discovery: ServiceDiscovery, filter: (Record) -> Boolean, consumerConfiguration: JsonObject): RedisClient`

Suspending version of method io.vertx.servicediscovery.types.RedisDataSource.getRedisClient

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, cannot be null

`consumerConfiguration` - The additional consumer configuration

Return

RedisClient

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