vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.AsyncMap / replaceIfPresentAwait

# replaceIfPresentAwait

`suspend fun <K, V> AsyncMap<K, V>.replaceIfPresentAwait(k: K, oldValue: V, newValue: V): Boolean`

Suspending version of method io.vertx.core.shareddata.AsyncMap.replaceIfPresent

### Parameters

`k` - the key

`oldValue` - the existing value

`newValue` - the new value

Return

Boolean

NOTE: This function has been automatically generated from io.vertx.core.shareddata.AsyncMap using Vert.x codegen.