vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.SharedData / getLockAwait
getLockAwait
suspend fun SharedData.getLockAwait(name: String): Lock
Get an asynchronous lock with the specified name. The lock will be passed to the handler when it is available.
Parameters
name
- the name of the lock
resultHandler
- the handler