vertx / io.vertx.kotlin.core.shareddata / io.vertx.core.shareddata.Counter / incrementAndGetAwait

incrementAndGetAwait

suspend fun Counter.incrementAndGetAwait(): Long

Increment the counter atomically and return the new count

Parameters

resultHandler - handler which will be passed the value