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

removeIfPresent

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

Remove a value from the map, only if entry already exists with same value.

Parameters

k - the key

v - the value

resultHandler - - this will be called some time later to signify the value has been removed