vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.SharedData / getAsyncMapAwait

getAsyncMapAwait

suspend fun <K, V> SharedData.getAsyncMapAwait(name: String): AsyncMap<K, V>

Get the io.vertx.core.shareddata.AsyncMap with the specified name. When clustered, the map is accessible to all nodes in the cluster and data put into the map from any node is visible to to any other node.

Parameters

name - the name of the map

resultHandler - the map will be returned asynchronously in this handler