vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisTransaction / setnxAwait

# setnxAwait

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

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

### Parameters

`key` - Key of which value to set

`value` - New value for the key

Return

String

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