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

getLockWithTimeoutAwait

suspend fun SharedData.getLockWithTimeoutAwait(name: String, timeout: Long): Lock

Suspending version of method io.vertx.core.shareddata.SharedData.getLockWithTimeout

Parameters

name - the name of the lock

timeout - the timeout in ms

Return

Lock

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