vertx / io.vertx.reactivex.core.shareddata / AsyncMap / replace

replace

open fun replace(k: K, v: V, resultHandler: Handler<AsyncResult<V>>): Unit

Replace the entry only if it is currently mapped to some value

Parameters

k - the key

v - the new value

resultHandler - the result handler will be passed the previous value