vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisClient / setnxAwait

# setnxAwait

`suspend fun RedisClient.setnxAwait(key: String, value: String): Long`

Suspending version of method io.vertx.redis.RedisClient.setnx

### Parameters

`key` - Key of which value to set

`value` - New value for the key

Return

Long

NOTE: This function has been automatically generated from io.vertx.redis.RedisClient using Vert.x codegen.