vertx / io.vertx.reactivex.redis / RedisTransaction / rxSetnx

rxSetnx

open fun rxSetnx(key: String, value: String): Single<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

Return