vertx / io.vertx.core.shareddata / SharedData / getAsyncMap

# getAsyncMap

`abstract fun <K : Any, V : Any> getAsyncMap(name: String, resultHandler: Handler<AsyncResult<AsyncMap<K, V>>>): Unit`

Get the 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.

WARNING: In clustered mode, asynchronous shared maps rely on distributed data structures provided by the cluster manager. Beware that the latency relative to asynchronous shared maps operations can be much higher in clustered than in local mode.

### Parameters

`name` - the name of the map

`resultHandler` - the map will be returned asynchronously in this handler