vertx / io.vertx.reactivex.redis / RedisTransaction / setnx

setnx

open fun setnx(key: String, value: String, handler: Handler<AsyncResult<String>>): RedisTransaction

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