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

# getRedisClientAwait

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

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

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, optional

Return

Redis

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): Redis`

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

### Parameters

`discovery` - The service discovery instance

`filter` - The filter, cannot be null

Return

Redis

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): Redis`

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

Redis

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): Redis`

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

Redis

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