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

# putAwait

`suspend fun <K, V> AsyncMap<K, V>.putAwait(k: K, v: V): Unit`

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

### Parameters

`k` - the key

`v` -

the value

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

`suspend fun <K, V> AsyncMap<K, V>.putAwait(k: K, v: V, ttl: Long): Unit`

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

### Parameters

`k` - the key

`v` - the value

`ttl` -

The time to live (in ms) for the entry

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