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

setnxAwait

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

Set the value of a key, only if the key does not exist

Parameters

key - Key of which value to set

value - New value for the key

handler - Handler for the result of this call.

Return