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

addAndGetAwait

suspend fun Counter.addAndGetAwait(value: Long): Long

Add the value to the counter atomically and return the new count

Parameters

value - the value to add

resultHandler - handler which will be passed the value